fix pmd problem

This commit is contained in:
water.lyl 2020-05-14 18:20:40 +08:00
parent 7d233e6f9f
commit 2af4c40330

View File

@ -62,7 +62,7 @@ public class CoreOpsController {
@GetMapping(value = "/idInfo")
public RestResult<Map<String, Map<Object, Object>>> idInfo() {
Map<String, Map<Object, Object>> info = new HashMap<>();
Map<String, Map<Object, Object>> info = new HashMap<>(10);
idGeneratorManager.getGeneratorMap()
.forEach(
(resource, idGenerator) -> info.put(resource, idGenerator.info()));