commit | b89d491606fd5a6baf8a84c6956df1390fde2444 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Wed Sep 09 14:37:59 2015 -0700 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Wed Sep 09 14:37:59 2015 -0700 |
tree | 79a657e65ecfcded1033c426e77f6bb8207f9cf7 | |
parent | c9d8d0a0ba8118491498f9e4feb34206e4c0a2f9 [diff] |
Simplify statement Change-Id: Idd5f4ab291be62001d74b89a93fa48650eaf1e20
diff --git a/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java b/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java index 15f0879..b2fd02c 100644 --- a/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java +++ b/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java
@@ -82,7 +82,7 @@ // Port type won't change unless we're overwriting a port completely. // Watch out for overwrites to avoid class cast craziness. - boolean noOwrite = (opc.type() == descr.type()) ? true : false; + boolean noOwrite = opc.type() == descr.type(); SparseAnnotations sa = combine(opc, descr.annotations()); if (noOwrite) {