I am using the sonarLint plugin in eclipse
On this line i get 'Close this "Stream"'
Stream.concat(Stream.of("a"), Stream.of("b")).collect(Collectors.toSet());
but not on
Arrays.asList("a", "b").stream().collect(Collectors.toSet());
I don't understand why not its not the same message on both lines. I am not sure if this is a java question or a sonarlint question.