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

Detect dead instanceof-expressions #44

Closed
markiewb opened this issue Jan 2, 2015 · 2 comments
Closed

Detect dead instanceof-expressions #44

markiewb opened this issue Jan 2, 2015 · 2 comments
Milestone

Comments

@markiewb
Copy link
Owner

markiewb commented Jan 2, 2015

See https://netbeans.org/bugzilla/show_bug.cgi?id=132511

public class NewClass {

    public void SomeMethod(ArrayList foo) {
        if (foo instanceof Map) {
            System.out.println("No compile-time error");
        }
    }
}
@markiewb markiewb changed the title Detect dead instanceof-branch Detect dead instanceof-expressions Jan 2, 2015
markiewb added a commit that referenced this issue Jan 2, 2015
[pom] updated description with #44 and other minor changes
@markiewb markiewb added this to the 1.4.0 milestone Jan 2, 2015
@markiewb
Copy link
Owner Author

markiewb commented Jan 2, 2015

Fixed in 1.4.0 - get the snapshot to test it

https://github.com/markiewb/nb-additional-hints/releases/tag/v1.4.0.0

@markiewb
Copy link
Owner Author

markiewb commented Jul 5, 2016

Hint will be removed via #70

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

No branches or pull requests

1 participant