Technoboy- opened a new issue #1752: URL: https://github.com/apache/shardingsphere-elasticjob/issues/1752
1. Use LinkedList ``` controllerInstances = new ArrayList<>(); ---> controllerInstances = new LinkedList<>(); ``` 2. Change method from to ``` NettyRestfulServiceConfiguration#addControllerInstance ---> NettyRestfulServiceConfiguration#addControllerInstances ``` 3. Simplify codes, remove get ``` UrlPatternMap<Handler> urlPatternMap = mappings.get(method); ``` 4. Change the return type to Optional ``` MappingContext<Handler> -> Optional<MappingContext<Handler>> ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
