fix: fixing lint issue (#2861)

This commit is contained in:
Gabe Lyons 2021-07-09 17:09:58 -07:00 committed by GitHub
parent 95b73c4adc
commit 973c08dee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.<Aspect>newResult().data(null).build();
}
}