Remove unnecessary continue
Change-Id: I7e3b68c3b5c40520aaac2821dc4e3848eec89520
Showing
1 changed file
with
0 additions
and
2 deletions
... | @@ -292,7 +292,6 @@ public class OpticalPathProvisioner { | ... | @@ -292,7 +292,6 @@ public class OpticalPathProvisioner { |
292 | .bidirectional(true) | 292 | .bidirectional(true) |
293 | .build(); | 293 | .build(); |
294 | intents.add(circuitIntent); | 294 | intents.add(circuitIntent); |
295 | - continue; | ||
296 | } else if (srcPort instanceof OchPort && dstPort instanceof OchPort) { | 295 | } else if (srcPort instanceof OchPort && dstPort instanceof OchPort) { |
297 | // Create lightpath | 296 | // Create lightpath |
298 | // FIXME: hardcoded ODU signal type | 297 | // FIXME: hardcoded ODU signal type |
... | @@ -304,7 +303,6 @@ public class OpticalPathProvisioner { | ... | @@ -304,7 +303,6 @@ public class OpticalPathProvisioner { |
304 | .bidirectional(true) | 303 | .bidirectional(true) |
305 | .build(); | 304 | .build(); |
306 | intents.add(opticalIntent); | 305 | intents.add(opticalIntent); |
307 | - continue; | ||
308 | } else { | 306 | } else { |
309 | log.warn("Unsupported cross connect point types {} {}", srcPort.type(), dstPort.type()); | 307 | log.warn("Unsupported cross connect point types {} {}", srcPort.type(), dstPort.type()); |
310 | return Collections.emptyList(); | 308 | return Collections.emptyList(); | ... | ... |
-
Please register or login to post a comment