From 973c08dee8ccf1661b7dff406b4e558747e4801e Mon Sep 17 00:00:00 2001 From: Gabe Lyons Date: Fri, 9 Jul 2021 17:09:58 -0700 Subject: [PATCH] fix: fixing lint issue (#2861) --- .../com/linkedin/datahub/graphql/types/aspect/AspectType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/aspect/AspectType.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/aspect/AspectType.java index 1a226e189c..b208dd1ac6 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/aspect/AspectType.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/aspect/AspectType.java @@ -35,7 +35,7 @@ public class AspectType { if (e instanceof RestLiResponseException) { // if no aspect is found, restli will return a 404 rather than null // https://linkedin.github.io/rest.li/user_guide/restli_server#returning-nulls - if(((RestLiResponseException) e).getStatus() == 404) { + if (((RestLiResponseException) e).getStatus() == 404) { return DataFetcherResult.newResult().data(null).build(); } }