Skip to content

Commit

Permalink
fix: fixing lint issue (#2861)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons authored Jul 10, 2021
1 parent 95b73c4 commit 973c08d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public List<DataFetcherResult<Aspect>> batchLoad(@Nonnull List<VersionedAspectKe
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.<Aspect>newResult().data(null).build();
}
}
Expand Down

0 comments on commit 973c08d

Please sign in to comment.