Drop unneeded generic type specifiers
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / impl / SchemaContextImpl.java
index 652011a2250d681bc0e81b22650dd143a93a021d..c5e87a1053069fff018a7fb5cda871a05e622e17 100644 (file)
@@ -49,9 +49,9 @@ final class SchemaContextImpl extends AbstractSchemaContext {
          * Invest some quality time in building up lookup tables for both.
          */
         final SetMultimap<URI, Module> nsMap = Multimaps.newSetMultimap(
-                new TreeMap<URI, Collection<Module>>(), MODULE_SET_SUPPLIER);
+                new TreeMap<>(), MODULE_SET_SUPPLIER);
         final SetMultimap<String, Module> nameMap = Multimaps.newSetMultimap(
-                new TreeMap<String, Collection<Module>>(), MODULE_SET_SUPPLIER);
+                new TreeMap<>(), MODULE_SET_SUPPLIER);
 
         for (Module m : modules) {
             nameMap.put(m.getName(), m);