Simplify expression
Change-Id: I3c18ac7f5aa48c71dc50704c1c53e35075e60119
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -338,8 +338,7 @@ public class CordFabricManager implements FabricService { | ... | @@ -338,8 +338,7 @@ public class CordFabricManager implements FabricService { |
338 | List<FabricVlan> fVlans = new ArrayList<>(); | 338 | List<FabricVlan> fVlans = new ArrayList<>(); |
339 | vlans.keySet().forEach(vlan -> fVlans.add( | 339 | vlans.keySet().forEach(vlan -> fVlans.add( |
340 | //FIXME: Very aweful but will fo for now | 340 | //FIXME: Very aweful but will fo for now |
341 | - new FabricVlan(vlan, vlans.get(vlan), | 341 | + new FabricVlan(vlan, vlans.get(vlan), vlan.toShort() == 201))); |
342 | - vlan.toShort() == 201 ? true : false))); | ||
343 | return fVlans; | 342 | return fVlans; |
344 | } | 343 | } |
345 | 344 | ... | ... |
-
Please register or login to post a comment