File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/main/java/org/woehlke/java/simpleworklist/domain/meso Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1616@ RequestMapping (path = "/" )
1717public class PagesController {
1818
19-
2019 @ RequestMapping (path = "/information" , method = RequestMethod .GET )
2120 public final String renderPageInformation (
2221 @ NotNull @ ModelAttribute ("userSession" ) UserSessionBean userSession ,
Original file line number Diff line number Diff line change 1616import org .woehlke .java .simpleworklist .domain .db .data .task .TaskTime ;
1717import org .woehlke .java .simpleworklist .domain .db .data .TaskState ;
1818import org .woehlke .java .simpleworklist .domain .meso .taskworkflow .TaskLifecycleService ;
19- import org .woehlke .java .simpleworklist .domain .meso .taskworkflow .TransformTaskIntoProjektService ;
2019import org .woehlke .java .simpleworklist .domain .db .user .UserAccount ;
2120import org .woehlke .java .simpleworklist .domain .meso .session .UserSessionBean ;
2221
@@ -40,10 +39,7 @@ public class TaskLifecycleController extends AbstractController {
4039 private final TaskLifecycleService taskLifecycleService ;
4140
4241 @ Autowired
43- public TaskLifecycleController (
44- TransformTaskIntoProjektService transformTaskIntoProjektService ,
45- TaskLifecycleService taskLifecycleService
46- ) {
42+ public TaskLifecycleController (TaskLifecycleService taskLifecycleService ) {
4743 this .taskLifecycleService = taskLifecycleService ;
4844 }
4945
@@ -246,7 +242,7 @@ public final String unsetCompletedTaskGet(
246242 task .incomplete ();
247243 long maxOrderIdTaskState = taskLifecycleService .getMaxOrderIdTaskState (task .getTaskState (),task .getContext ());
248244 task .setOrderIdTaskState (++maxOrderIdTaskState );
249- task = taskService .updatedViaTaskstate (task );
245+ task = taskLifecycleService .updatedViaTaskstate (task );
250246 model .addAttribute ("userSession" , userSession );
251247 model .addAttribute ("dataPage" , true );
252248 return task .getUrl ();
You can’t perform that action at this time.
0 commit comments