mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 11:19:05 +00:00
fix: fixing lint issue (#2861)
This commit is contained in:
parent
95b73c4adc
commit
973c08dee8
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user