I have a private method in my class.
public class MyClass { public void method(){ .... List<String> filteredPaths = Arrays.asList(paths).stream().filter(this::validate).collect(Collectors.toList()); .... } private boolean validate(String path){ ... } }
I see a serious problem:
Private method 'validate' is never used.
Is this problem known?
How to fix it? workarounds?
source share