.build()));
if (serviceFormat.equals(ServiceFormat.ODU)) {
serviceAEndBuilder.setOduServiceRate(ODU4.VALUE);
- }
- if (serviceFormat.equals(ServiceFormat.OTU)) {
+ } else if (serviceFormat.equals(ServiceFormat.OTU)) {
serviceAEndBuilder.setOtuServiceRate(OTU4.VALUE);
}
if (!serviceLayer.equals(LayerProtocolName.ETH)) {
}
return openroadmNodeTypeList.get(0);
}
-}
\ No newline at end of file
+}