+2004-05-31 Michael Koch <konqueror@gmx.de>
+
+ * java/io/SequenceInputStream.java:
+ Rename enum to e because enum is a keyword in Java 1.5.
+
2004-05-31 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/rmic/CompilerProcess.java:
/** Secondary input stream; not used if constructed w/ enumeration. */
private InputStream in2;
- /** The enum handle; not used if constructed w/ 2 explicit input streams. */
- private Enumeration enum;
+ /** The enumeration handle; not used if constructed w/ 2 explicit input streams. */
+ private Enumeration e;
/**
* This method creates a new <code>SequenceInputStream</code> that obtains
*/
public SequenceInputStream(Enumeration e)
{
- enum = e;
- in = (InputStream) enum.nextElement();
+ this.e = e;
+ in = (InputStream) e.nextElement();
in2 = null;
}
{
InputStream nextIn = null;
- if (enum != null)
+ if (e != null)
{
- if (enum.hasMoreElements())
- nextIn = (InputStream) enum.nextElement();
+ if (e.hasMoreElements())
+ nextIn = (InputStream) e.nextElement();
}
else
if (in2 != null)