Simplify statement
Change-Id: Idd5f4ab291be62001d74b89a93fa48650eaf1e20
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -82,7 +82,7 @@ public final class OpticalPortOperator implements ConfigOperator { | ... | @@ -82,7 +82,7 @@ public final class OpticalPortOperator implements ConfigOperator { |
82 | 82 | ||
83 | // Port type won't change unless we're overwriting a port completely. | 83 | // Port type won't change unless we're overwriting a port completely. |
84 | // Watch out for overwrites to avoid class cast craziness. | 84 | // Watch out for overwrites to avoid class cast craziness. |
85 | - boolean noOwrite = (opc.type() == descr.type()) ? true : false; | 85 | + boolean noOwrite = opc.type() == descr.type(); |
86 | 86 | ||
87 | SparseAnnotations sa = combine(opc, descr.annotations()); | 87 | SparseAnnotations sa = combine(opc, descr.annotations()); |
88 | if (noOwrite) { | 88 | if (noOwrite) { | ... | ... |
-
Please register or login to post a comment