Sho SHIMIZU
Committed by Thomas Vachuska

Refactor: Split into two if statements

Change-Id: If9217fea0629f2d1e06db8310722b9d008e59d98
......@@ -329,7 +329,11 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler<OpticalCircu
continue;
}
if (!(isAllowed(src, connIntent.getSrc()) && isAllowed(dst, connIntent.getDst()))) {
if (!isAllowed(src, connIntent.getSrc())) {
continue;
}
if (!isAllowed(dst, connIntent.getDst())) {
continue;
}
......