We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662f455 commit a67b7bdCopy full SHA for a67b7bd
src/main/java/com/networknt/schema/CollectorContext.java
@@ -15,12 +15,12 @@ public enum CollectorContext {
15
/**
16
* Map for holding the collector type and {@link Collector}
17
*/
18
- private Map<String, Collector<?>> collectorMap = new HashMap<>();
+ private Map<String, Collector<?>> collectorMap = new HashMap<String, Collector<?>>();
19
20
21
* Map for holding the collector type and {@link Collector} class collect method output.
22
23
- private Map<String, Object> collectorLoadMap = new HashMap<>();
+ private Map<String, Object> collectorLoadMap = new HashMap<String, Object>();
24
25
public <E> void add(String collectorType, Collector<E> collector) {
26
collectorMap.put(collectorType, collector);
0 commit comments