Project: JDT
Bug 256578 [implementation] Possibly broken code in LocalCorrectionsSubProcessor.addUnnecessaryInstanceofProposal(IInvocationContext, IProblemLocation, Collection)
Reported: 2008-11-26 04:31:55 | Status: resolved fixed

I20081125-0840. While doing the dead-code analysis I found this code in org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUnnecessaryInstanceofProposal(IInvocationContext, IProblemLocation, Collection): The code in the if (false/*ASTNodes.needsParentheses(expression)*/) is never executed.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java