United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6455452 JSR 199: unnecessary imports in ForwardingJavaFileObject.java
JDK-6455452 : JSR 199: unnecessary imports in ForwardingJavaFileObject.java

Details
Type:
Bug
Submit Date:
2006-08-01
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

Description
In ForwadingJavaFileObject.java there are many imports which are not used.
Out of  "import java.io.IOException;  import java.io.InputStream;  import java.io.OutputStream;  import java.io.Reader;   import java.io.Writer;  import java.net.URI;
 import javax.lang.model.element.Modifier;  import javax.lang.model.element.NestingKind;   
Only  
javax.lang.model.element.Modifier; javax.lang.model.element.NestingKind; are used in the source file. Rest can be deleted.

                                    

Comments
EVALUATION

Yes.
                                     
2006-08-03



Hardware and Software, Engineered to Work Together