Skip to content

Commit

Permalink
Update EntityServiceImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jayacryl authored Jul 24, 2024
1 parent 6539346 commit 08cdba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ public Set<Urn> exists(
// key aspect is always returned, make sure to only consider the status aspect
statusResult.getOrDefault(urn, List.of()).stream()
.filter(
aspect -> STATUS_ASPECT_NAME.equalsIgnoreCase(aspect.schema().getName()))
aspect -> STATUS_ASPECT_NAME.equalsIgnoreCase(aspect.schema().getName()))
.noneMatch(aspect -> ((Status) aspect).isRemoved()))
.collect(Collectors.toSet());
}
Expand Down

0 comments on commit 08cdba4

Please sign in to comment.