Patch: createZipEntry

Tom Tromey tromey@cygnus.com
Sat Aug 19 12:54:00 GMT 2000


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


More information about the Java-patches mailing list