summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/zip/ZipInputStream.java
diff options
context:
space:
mode:
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-23 12:24:59 +0000
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-23 12:24:59 +0000
commit9af90df87691dbd03d44ff469112e23dde9aa5e5 (patch)
tree63572a78b1578e45f69eed92afa99ff6ff7b88de /libjava/java/util/zip/ZipInputStream.java
parenteb4167a7282850303cea035fe6b0afcb512d3364 (diff)
downloadppe42-gcc-9af90df87691dbd03d44ff469112e23dde9aa5e5.tar.gz
ppe42-gcc-9af90df87691dbd03d44ff469112e23dde9aa5e5.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27717 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/zip/ZipInputStream.java')
-rw-r--r--libjava/java/util/zip/ZipInputStream.java6
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)
{
OpenPOWER on IntegriCloud