InflaterInputStream.java: Merged more with Classpath version.

2004-06-01  Michael Koch  <konqueror@gmx.de>

	* java/util/zip/InflaterInputStream.java: Merged more with Classpath
	version.
	* java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
	Java 1.5 keyword usage.

From-SVN: r82509
This commit is contained in:
Michael Koch 2004-05-31 22:14:37 +00:00 committed by Michael Koch
parent ec3e68358f
commit f7dbd56c9a
3 changed files with 72 additions and 27 deletions

View file

@ -338,10 +338,10 @@ public class ZipOutputStream extends DeflaterOutputStream implements ZipConstant
int numEntries = 0;
int sizeEntries = 0;
Enumeration enum = entries.elements();
while (enum.hasMoreElements())
Enumeration e = entries.elements();
while (e.hasMoreElements())
{
ZipEntry entry = (ZipEntry) enum.nextElement();
ZipEntry entry = (ZipEntry) e.nextElement();
int method = entry.getMethod();
writeLeInt(CENSIG);