Fix duplicated lines of code in method decode()
Change-Id: I9b7e0ff861efeff0f65f6ac2d30fdda51df5e253
Showing
1 changed file
with
0 additions
and
4 deletions
| ... | @@ -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"); | ... | ... |
-
Please register or login to post a comment