From c8ebfbf8ba7a170a505ee5f6c7ec98f5f3d828a1 Mon Sep 17 00:00:00 2001 From: Clay Jensen-Reimann <clayreimann@oath.com> Date: Wed, 8 Aug 2018 14:45:35 -0500 Subject: [PATCH] Fix checkstyle --- .../main/java/com/yahoo/elide/graphql/GraphQLEndpoint.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elide-graphql/src/main/java/com/yahoo/elide/graphql/GraphQLEndpoint.java b/elide-graphql/src/main/java/com/yahoo/elide/graphql/GraphQLEndpoint.java index 1654dfc5f6..03cfccdf97 100644 --- a/elide-graphql/src/main/java/com/yahoo/elide/graphql/GraphQLEndpoint.java +++ b/elide-graphql/src/main/java/com/yahoo/elide/graphql/GraphQLEndpoint.java @@ -39,9 +39,7 @@ import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; - import java.io.IOException; -import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.function.Function; @@ -184,7 +182,7 @@ private Response executeGraphQLRequest( "data", null ); // Do not commit. Throw OK response to process tx.close correctly. - // (default transaction implementations throw an IOException if you leave a dangling SQL transaction) + // (default implementations throw an IOException if you leave a dangling SQL transaction) throw new WebApplicationException( Response.ok(mapper.writeValueAsString(abortedResponseObject)).build()); }