Skip to content

Commit

Permalink
smallrye#521: fix formatting... again
Browse files Browse the repository at this point in the history
  • Loading branch information
t1 authored and jmartisk committed Oct 3, 2022
1 parent 1adffd5 commit eb72c0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ private Object fetchEntities(DataFetchingEnvironment env, Map<String, Object> re

private boolean matchesReturnType(GraphQLFieldDefinition field, String typename) {
GraphQLOutputType returnType = field.getType();
return returnType instanceof GraphQLNamedSchemaElement && ((GraphQLNamedSchemaElement) returnType).getName().equals(typename);
return returnType instanceof GraphQLNamedSchemaElement
&& ((GraphQLNamedSchemaElement) returnType).getName().equals(typename);
}

private boolean matchesArguments(Map<String, Object> requestedArguments, GraphQLFieldDefinition field) {
Expand Down

0 comments on commit eb72c0e

Please sign in to comment.