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) {