Antonio Marsico

Fix duplicated lines of code in method decode()

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