Community
Participate
Working Groups
3.1 "Introduce new local with casted type" can be applied more than once resulting in compile errors. Starting with: class Foo { void bar(Object o) { if (o instanceof String) { } } } applying it twice results in: class Foo { void bar(Object o) { if (o instanceof String) { String string= (String) o; String string= (String) o; } } }
Created attachment 93195 [details] exclude defined var names Excludes already defined variable names in this context
fix released > 20080411 (minor changes to the patch) Thanks Benjamin.
*** Bug 114305 has been marked as a duplicate of this bug. ***