Sho SHIMIZU
Committed by Gerrit Code Review

Simplify a condition

Change-Id: Iccbe8fefec2853d24963dafe3b8a5f58217606cc
......@@ -409,11 +409,7 @@ public class OpticalPathProvisioner {
checkNotNull(link.annotations());
checkNotNull(link.annotations().value("optical.type"));
if (link.annotations().value("optical.type").equals("cross-connect")) {
return true;
}
return false;
return link.annotations().value("optical.type").equals("cross-connect");
}
}
......