This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Patch: createZipEntry
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: createZipEntry
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 19 Aug 2000 14:00:26 -0600
- Reply-To: tromey at cygnus dot com
I read the docs for ZipInputStream.createZipEntry and I think this is
a reasonable implementation.
2000-08-19 Tom Tromey <tromey@cygnus.com>
* java/util/zip/ZipInputStream.java (createZipEntry):
Implemented.
Tom
Index: java/util/zip/ZipInputStream.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/util/zip/ZipInputStream.java,v
retrieving revision 1.8
diff -u -r1.8 ZipInputStream.java
--- ZipInputStream.java 2000/08/19 18:19:42 1.8
+++ ZipInputStream.java 2000/08/19 19:52:53
@@ -125,8 +125,7 @@
protected ZipEntry createZipEntry (String name)
{
- // FIXME - must figure out what this is supposed to do.
- return null;
+ return new ZipEntry (name);
}
public int read (byte[] b, int off, int len) throws IOException