Antonio Marsico

Fix duplicated lines of code in method decode()

Change-Id: I9b7e0ff861efeff0f65f6ac2d30fdda51df5e253
......@@ -195,10 +195,6 @@ public final class DecodeConstraintCodecHelper {
return decodeWaypointConstraint();
} else if (type.equals(AsymmetricPathConstraint.class.getSimpleName())) {
return decodeAsymmetricPathConstraint();
} else if (type.equals(LinkTypeConstraint.class.getSimpleName())) {
return decodeLinkTypeConstraint();
} else if (type.equals(AnnotationConstraint.class.getSimpleName())) {
return decodeAnnotationConstraint();
}
throw new IllegalArgumentException("Instruction type "
+ type + " is not supported");
......