Drop unneeded generic type specifiers
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / impl / ModuleImpl.java
index a17dc56f1fc3daba303661f0c51f9305bbca9ed4..e6abb121b3fa5c26be6e6087e3a5a215f928a5e5 100644 (file)
@@ -74,8 +74,8 @@ public final class ModuleImpl extends AbstractDocumentedDataNodeContainer implem
         super(builder);
         this.name = checkNotNull(name, "Missing name");
         this.sourcePath = sourcePath; //TODO: can this be nullable?
-        this.imports = ImmutableSet.<ModuleImport> copyOf(builder.imports.values());
-        this.submodules = ImmutableSet.<Module> copyOf(builder.submodules);
+        this.imports = ImmutableSet.copyOf(builder.imports.values());
+        this.submodules = ImmutableSet.copyOf(builder.submodules);
         this.prefix = builder.getPrefix();
 
         this.qnameModule = QNameModule.create(builder.getNamespace(),