Refactor: Remove unused parameter
Change-Id: I8f719833a85deae175649dfb2bede4ea6684611f
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -295,7 +295,7 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu | ... | @@ -295,7 +295,7 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu |
295 | return null; | 295 | return null; |
296 | } | 296 | } |
297 | 297 | ||
298 | - private OchPort findAvailableOchPort(ConnectPoint oduPort, OpticalCircuitIntent circuitIntent) { | 298 | + private OchPort findAvailableOchPort(ConnectPoint oduPort) { |
299 | // First see if the port mappings are constrained | 299 | // First see if the port mappings are constrained |
300 | ConnectPoint ochCP = staticPort(oduPort); | 300 | ConnectPoint ochCP = staticPort(oduPort); |
301 | 301 | ||
... | @@ -326,12 +326,12 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu | ... | @@ -326,12 +326,12 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu |
326 | 326 | ||
327 | private Pair<OchPort, OchPort> findPorts(OpticalCircuitIntent intent) { | 327 | private Pair<OchPort, OchPort> findPorts(OpticalCircuitIntent intent) { |
328 | 328 | ||
329 | - OchPort srcPort = findAvailableOchPort(intent.getSrc(), intent); | 329 | + OchPort srcPort = findAvailableOchPort(intent.getSrc()); |
330 | if (srcPort == null) { | 330 | if (srcPort == null) { |
331 | return null; | 331 | return null; |
332 | } | 332 | } |
333 | 333 | ||
334 | - OchPort dstPort = findAvailableOchPort(intent.getDst(), intent); | 334 | + OchPort dstPort = findAvailableOchPort(intent.getDst()); |
335 | if (dstPort == null) { | 335 | if (dstPort == null) { |
336 | return null; | 336 | return null; |
337 | } | 337 | } | ... | ... |
-
Please register or login to post a comment