#79 fixing codestyle

This commit is contained in:
ASH 2019-05-11 23:06:30 +04:00
parent 0de34c89fe
commit c59bb45c70

View File

@ -181,8 +181,7 @@ public class TaskService {
public void generateYearTasks() {
Set<Tag> tags = checkRepeatingTags(true);
List<Task> tasks = new ArrayList<>();
tags.forEach(tag ->
{
tags.forEach(tag -> {
Task singleTask = findTasksByTag(tag).get(0);
Calendar taskDate = Calendar.getInstance();
Calendar nowDate = Calendar.getInstance();
@ -215,7 +214,6 @@ public class TaskService {
cal.set(Calendar.HOUR_OF_DAY, 0);
System.out.println(cal.getTime());
List<Task> tasks = taskRepository.findAllYear(cal.getTime());
;
tags.forEach(tag ->
tagsCount.put(tag, tasks
.stream()