diff options
| author | Warren Levy <warrenl@cygnus.com> | 1999-06-23 12:24:59 +0000 |
|---|---|---|
| committer | Warren Levy <warrenl@gcc.gnu.org> | 1999-06-23 12:24:59 +0000 |
| commit | 05dfd09c0cf11e2e19d7e7bfea73cd80d95519dd (patch) | |
| tree | 63572a78b1578e45f69eed92afa99ff6ff7b88de /libjava/java/util/zip/ZipInputStream.java | |
| parent | 25e1e0492709ed1525edff83eea559b5f27570ec (diff) | |
DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
* java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
* java/net/natPlainDatagramSocketImpl.cc (bind): ditto.
* java/text/ChoiceFormat.java (nextDouble(double, boolean)): Method
is not final per JDK.
* java/util/PropertyResourceBundle.java (handleGetObject): Method is
public per JDK.
* java/util/zip/DataFormatException.java: Class extends Exception.
* java/util/zip/Deflater.java (finalize): Method is protected per JDK.
* java/util/zip/ZipEntry.java: Class implements ZipConstants.
* java/util/zip/ZipInputStream.java: ditto.
(closeEntry): Changed method name to match JDK spec.
From-SVN: r27717
Diffstat (limited to 'libjava/java/util/zip/ZipInputStream.java')
| -rw-r--r-- | libjava/java/util/zip/ZipInputStream.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/util/zip/ZipInputStream.java b/libjava/java/util/zip/ZipInputStream.java index 224e7859cfc..41b092d8133 100644 --- a/libjava/java/util/zip/ZipInputStream.java +++ b/libjava/java/util/zip/ZipInputStream.java @@ -26,7 +26,7 @@ import java.io.*; // we probably should. FIXME. -public class ZipInputStream extends InflaterInputStream +public class ZipInputStream extends InflaterInputStream implements ZipConstants { public ZipInputStream (InputStream in) { @@ -36,7 +36,7 @@ public class ZipInputStream extends InflaterInputStream public ZipEntry getNextEntry () throws IOException { if (current != null) - closeZipEntry(); + closeEntry(); if (in.read() != 'P' || in.read() != 'K') return null; @@ -184,7 +184,7 @@ public class ZipInputStream extends InflaterInputStream + ((byte1 & 0xFF) << 8) + (byte0 & 0xFF); } - public void closeZipEntry () throws IOException + public void closeEntry () throws IOException { if (current != null) { |
