Skip to content

Commit

Permalink
spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Feb 22, 2024
1 parent c040e3a commit 77649fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/graphql/RootNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static class DescendantTargetsFilterInput implements Predicate<DiscoveryN

@Override
public boolean test(DiscoveryNode t) {
Predicate<DiscoveryNode> matchesId = n -> id == null || id == n.id;
Predicate<DiscoveryNode> matchesId = n -> id == null || id.equals(n.id);
Predicate<DiscoveryNode> matchesName =
n -> name == null || Objects.equals(name, n.name);
Predicate<DiscoveryNode> matchesNames = n -> names == null || names.contains(n.name);
Expand Down

0 comments on commit 77649fa

Please sign in to comment.