Code Review
/
mdsal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove redundant type declarations
[mdsal.git]
/
binding2
/
mdsal-binding2-spec
/
src
/
main
/
java
/
org
/
opendaylight
/
mdsal
/
binding
/
javav2
/
spec
/
base
/
InstanceIdentifier.java
diff --git
a/binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/base/InstanceIdentifier.java
b/binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/base/InstanceIdentifier.java
index bd346dd96cf5823b5957d4b404710f34406041ef..60e2faaf93d5b340ddc43b4714eea099c8fff27a 100644
(file)
--- a/
binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/base/InstanceIdentifier.java
+++ b/
binding2/mdsal-binding2-spec/src/main/java/org/opendaylight/mdsal/binding/javav2/spec/base/InstanceIdentifier.java
@@
-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;