Remove redundant type declarations
[mdsal.git] / binding2 / mdsal-binding2-spec / src / main / java / org / opendaylight / mdsal / binding / javav2 / spec / base / InstanceIdentifier.java
index bd346dd96cf5823b5957d4b404710f34406041ef..60e2faaf93d5b340ddc43b4714eea099c8fff27a 100644 (file)
@@ -382,7 +382,7 @@ public class InstanceIdentifier<T extends TreeNode> implements Path<InstanceIden
     @Deprecated
     public final List<TreeArgument> getPath() {
         if (legacyCache == null) {
-            legacyCache = ImmutableList.<TreeArgument>copyOf(pathArguments);
+            legacyCache = ImmutableList.copyOf(pathArguments);
         }
 
         return legacyCache;