Skip to content

Commit a67b7bd

Browse files
Changes for adding collector context
1 parent 662f455 commit a67b7bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/networknt/schema/CollectorContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ public enum CollectorContext {
1515
/**
1616
* Map for holding the collector type and {@link Collector}
1717
*/
18-
private Map<String, Collector<?>> collectorMap = new HashMap<>();
18+
private Map<String, Collector<?>> collectorMap = new HashMap<String, Collector<?>>();
1919

2020
/**
2121
* Map for holding the collector type and {@link Collector} class collect method output.
2222
*/
23-
private Map<String, Object> collectorLoadMap = new HashMap<>();
23+
private Map<String, Object> collectorLoadMap = new HashMap<String, Object>();
2424

2525
public <E> void add(String collectorType, Collector<E> collector) {
2626
collectorMap.put(collectorType, collector);

0 commit comments

Comments
 (0)