Skip to content

Commit 6f2befc

Browse files
committed
Fixed useless duplicated instruction.
1 parent faad54f commit 6f2befc

File tree

1 file changed

+1
-2
lines changed
  • modules/org.restlet.ext.jaxrs/src/org/restlet/ext/jaxrs/internal/wrappers/params

1 file changed

+1
-2
lines changed

modules/org.restlet.ext.jaxrs/src/org/restlet/ext/jaxrs/internal/wrappers/params/ParameterList.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,7 @@ private void handleExceptionOnInvocation(String value, Exception e)
424424
} else if (!(e instanceof NoSuchMethodException)
425425
&& !(e instanceof IllegalAccessException)
426426
&& !(e instanceof InvocationTargetException)
427-
&& !(e instanceof InstantiationException)
428-
&& !(e instanceof NoSuchMethodException)) {
427+
&& !(e instanceof InstantiationException)) {
429428
throw ConvertParameterException
430429
.object(this.convertTo, value, e);
431430
}

0 commit comments

Comments
 (0)