commit | 2389523ddae5a263131a2ed2c9f32c6e74fdb245 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Nov 25 15:59:50 2014 -0800 |
committer | Ray Milkey <ray@onlab.us> | Wed Nov 26 00:12:23 2014 +0000 |
tree | 6f895f4f6ebbbf6d78cf0c59c080ded85892a226 | |
parent | f6171233a91eee521abed9d51d0c79417701468f [diff] |
Remove code duplication Change-Id: I428677343fe71aded4156e5fc9b84a9d994a6bae
diff --git a/core/api/src/main/java/org/onlab/onos/net/intent/Intent.java b/core/api/src/main/java/org/onlab/onos/net/intent/Intent.java index b57e375..de6a368 100644 --- a/core/api/src/main/java/org/onlab/onos/net/intent/Intent.java +++ b/core/api/src/main/java/org/onlab/onos/net/intent/Intent.java
@@ -113,7 +113,7 @@ return false; } final Intent other = (Intent) obj; - return this.id().equals(((Intent) obj).id()); + return this.id().equals(other.id()); } /**