From eb72c0ebe54f4210c13931c80518adfa65b166d8 Mon Sep 17 00:00:00 2001 From: Ruediger zu Dohna Date: Sat, 3 Sep 2022 07:02:02 +0200 Subject: [PATCH] #521: fix formatting... again --- .../io/smallrye/graphql/bootstrap/FederationDataFetcher.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java b/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java index a29bc026f..90d93c02d 100644 --- a/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java +++ b/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java @@ -51,7 +51,8 @@ private Object fetchEntities(DataFetchingEnvironment env, Map 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 requestedArguments, GraphQLFieldDefinition field) {