-
Enhancement
-
Resolution: Won't Fix
-
P5
-
5.0
-
x86, sparc
-
solaris_9, windows_xp
Lately I've been writing code that uses pieces from numerous packages.
I've got a large collection of boilerplate import statements that I tend
to pick and choose from. If I miss one, the compiler of course lets me know.
But if I have unused import statements, the compiler of course doesn't care.
For readability, I'd like to remove the superfluous imports. Gee it would
sure be swell if the compiler had a lint flag that would trigger a warning
about them.
I've got a large collection of boilerplate import statements that I tend
to pick and choose from. If I miss one, the compiler of course lets me know.
But if I have unused import statements, the compiler of course doesn't care.
For readability, I'd like to remove the superfluous imports. Gee it would
sure be swell if the compiler had a lint flag that would trigger a warning
about them.
- relates to
-
JDK-6455452 JSR 199: unnecessary imports in ForwardingJavaFileObject.java
- Closed