Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.util.function.Consumer<T> operation not considered, so falsy result #5

Open
BBE78 opened this issue Mar 27, 2023 · 0 comments
Open

Comments

@BBE78
Copy link

BBE78 commented Mar 27, 2023

The "java.util.function.Consumer<T>" operation introduced in Java 1.8 are not considered, so provide a falsy dead code detection

Exemple:

    dataList.forEach(this::countElement);

    private void countElement(RequestElement element) {
        this.number += element.getData().size();
    }

"countElement" is not private dead code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant