Community
Participate
Working Groups
3.1 if A is not generic, then the warning goes away public class A<T> { private static class B{ private int foo; //incorrectly identified as unused } void bar(B b){ if (b.foo == 0) return; } }
ASTNode#isFieldUseDeprecated was not tagging the original field, but the parameterized instance of it.
Fixed. Added GenericTypeTest#test783
Verified for 3.2M1 (I20050808-2000)
Verified using M20050923-1430 for 3.1.1
*** Bug 126105 has been marked as a duplicate of this bug. ***