#79 fixing codestyle
This commit is contained in:
parent
0de34c89fe
commit
c59bb45c70
@ -181,8 +181,7 @@ public class TaskService {
|
|||||||
public void generateYearTasks() {
|
public void generateYearTasks() {
|
||||||
Set<Tag> tags = checkRepeatingTags(true);
|
Set<Tag> tags = checkRepeatingTags(true);
|
||||||
List<Task> tasks = new ArrayList<>();
|
List<Task> tasks = new ArrayList<>();
|
||||||
tags.forEach(tag ->
|
tags.forEach(tag -> {
|
||||||
{
|
|
||||||
Task singleTask = findTasksByTag(tag).get(0);
|
Task singleTask = findTasksByTag(tag).get(0);
|
||||||
Calendar taskDate = Calendar.getInstance();
|
Calendar taskDate = Calendar.getInstance();
|
||||||
Calendar nowDate = Calendar.getInstance();
|
Calendar nowDate = Calendar.getInstance();
|
||||||
@ -215,7 +214,6 @@ public class TaskService {
|
|||||||
cal.set(Calendar.HOUR_OF_DAY, 0);
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
||||||
System.out.println(cal.getTime());
|
System.out.println(cal.getTime());
|
||||||
List<Task> tasks = taskRepository.findAllYear(cal.getTime());
|
List<Task> tasks = taskRepository.findAllYear(cal.getTime());
|
||||||
;
|
|
||||||
tags.forEach(tag ->
|
tags.forEach(tag ->
|
||||||
tagsCount.put(tag, tasks
|
tagsCount.put(tag, tasks
|
||||||
.stream()
|
.stream()
|
||||||
|
Loading…
Reference in New Issue
Block a user