diff --git a/java/java-tests/testData/inspection/dataFlow/fixture/StreamCollectInlining.java b/java/java-tests/testData/inspection/dataFlow/fixture/StreamCollectInlining.java index fe31f476ae50..f1472e69591e 100644 --- a/java/java-tests/testData/inspection/dataFlow/fixture/StreamCollectInlining.java +++ b/java/java-tests/testData/inspection/dataFlow/fixture/StreamCollectInlining.java @@ -10,7 +10,7 @@ class Clazz { Map aux = list.stream().collect(() -> new HashMap<>(), (a, b) -> a.put(b, b.length()), Map::putAll); if (aux.isEmpty()) {} Map aux2 = list2.stream().collect(() -> new HashMap<>(), (a, b) -> a.put(b, b.length()), Map::putAll); - if (aux.isEmpty()) {} + if (aux2.isEmpty()) {} } public void passNull(Collection c) {