Arsnael commented on code in PR #2824:
URL: https://github.com/apache/james-project/pull/2824#discussion_r2413442775


##########
server/protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/tasks/TaskFromRequest.java:
##########
@@ -66,12 +65,12 @@ class MultiTaskRoute implements Route {
         }
 
         @Override
-        public Map<Username, TaskId> handle(Request request, Response 
response) throws Exception {
+        public Map<String, TaskIdDto> handle(Request request, Response 
response) throws Exception {
             MultiTaskHandler task = (MultiTaskHandler) 
taskFromRequest.fromRequest(request);

Review Comment:
   I'm starting to wonder if it wouldnt be simpler to just cut most of the 
things I did and solve the logic here... determining what kind of TaskHandler 
we have and do a different treatment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to