Skip to content

Commit 97b6358

Browse files
committed
removed unnecessary catch block in getPropertyViaGetterUsingPrefix
1 parent c25ed3e commit 97b6358

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/java/graphql/schema/PropertyDataFetcher.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ private Object getPropertyViaGetterUsingPrefix(Object object, GraphQLOutputType
4848
Method method = object.getClass().getMethod(getterName);
4949
return method.invoke(object);
5050

51-
} catch (NoSuchMethodException e) {
52-
throw e;
5351
} catch (IllegalAccessException e) {
5452
throw new RuntimeException(e);
5553
} catch (InvocationTargetException e) {

0 commit comments

Comments
 (0)