CalvinKirs commented on a change in pull request #4896:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/4896#discussion_r584121225
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/BaseController.java
##########
@@ -48,7 +48,7 @@
* @return check result code
*/
public Map<String, Object> checkPageParams(int pageNo, int pageSize) {
- Map<String, Object> result = new HashMap<>(2);
+ Map<String, Object> result = new HashMap<>(4);
Review comment:
but..hashmap‘s min size is 16.
----------------------------------------------------------------
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]