|
Description
|
unused imports and unused private const. in com.sun.tools.javac.Server.java
Unused imports :
import com.sun.tools.javac.main.JavacOption.Option;
import com.sun.tools.javac.main.RecognizedOptions.GrumpyHelper;
import com.sun.tools.javac.main.RecognizedOptions;
the following code is not used :
<code - com.sun.tools.javac.Server.java>
private Server(BufferedReader in, OutputStream out) {
this(in, out, false);
}
</code - com.sun.tools.javac.Server.java>
The above const. might have been written for
if (args.length == 2) {
for (;;) {
throw new UnsupportedOperationException("TODO");
// BufferedReader in = new BufferedReader(new FileReader(args[0]));
// PrintWriter out = new PrintWriter(args[1]);
// new Server(in, out).run();
// System.out.flush();
// System.err.flush();
}
}
but the above code is commented, I think the private cont. is also can be commented.
Posted Date : 2007-08-27 12:08:56.0
|