summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/ZipFile.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-11-06 16:32:56 +0000
committerMark Wielaard <mark@gcc.gnu.org>2004-11-06 16:32:56 +0000
commitc2e999dfeb7680617c0febb42299ebfac01a6bf7 (patch)
treeaff38876d319e5c2226533f8778d4e434e4a7110 /libjava/java/util/zip/ZipFile.java
parent08d930240971fcc6d7b8023aed2f367581669df9 (diff)
downloadgcc-c2e999dfeb7680617c0febb42299ebfac01a6bf7.tar.gz
StringBuffer.java, [...]: Removed redundant and reordered modifiers.
2004-11-06 Michael Koch <konqueror@gmx.de> * java/lang/StringBuffer.java, java/lang/Throwable.java, java/security/spec/DSAParameterSpec.java, java/util/zip/ZipEntry.java, java/util/zip/ZipFile.java, java/util/zip/ZipInputStream.java, java/util/zip/ZipOutputStream.java: Removed redundant and reordered modifiers. From-SVN: r90177
Diffstat (limited to 'libjava/java/util/zip/ZipFile.java')
-rw-r--r--libjava/java/util/zip/ZipFile.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/libjava/java/util/zip/ZipFile.java b/libjava/java/util/zip/ZipFile.java
index 1f9ab5ed5ee..c95a34d6b4e 100644
--- a/libjava/java/util/zip/ZipFile.java
+++ b/libjava/java/util/zip/ZipFile.java
@@ -148,7 +148,7 @@ public class ZipFile implements ZipConstants
* @exception IOException if a i/o error occured.
* @exception EOFException if the file ends prematurely
*/
- private final int readLeShort(DataInput di, byte[] b) throws IOException
+ private int readLeShort(DataInput di, byte[] b) throws IOException
{
di.readFully(b, 0, 2);
return (b[0] & 0xff) | (b[1] & 0xff) << 8;
@@ -165,14 +165,13 @@ public class ZipFile implements ZipConstants
* @exception IOException if a i/o error occured.
* @exception EOFException if the file ends prematurely
*/
- private final int readLeInt(DataInput di, byte[] b) throws IOException
+ private int readLeInt(DataInput di, byte[] b) throws IOException
{
di.readFully(b, 0, 4);
return ((b[0] & 0xff) | (b[1] & 0xff) << 8)
| ((b[2] & 0xff) | (b[3] & 0xff) << 8) << 16;
}
-
/**
* Read an unsigned short in little endian byte order from the given
* byte buffer at the given offset.
@@ -181,7 +180,7 @@ public class ZipFile implements ZipConstants
* @param off the offset to read from.
* @return The value read.
*/
- private final int readLeShort(byte[] b, int off)
+ private int readLeShort(byte[] b, int off)
{
return (b[off] & 0xff) | (b[off+1] & 0xff) << 8;
}
@@ -194,7 +193,7 @@ public class ZipFile implements ZipConstants
* @param off the offset to read from.
* @return The value read.
*/
- private final int readLeInt(byte[] b, int off)
+ private int readLeInt(byte[] b, int off)
{
return ((b[off] & 0xff) | (b[off+1] & 0xff) << 8)
| ((b[off+2] & 0xff) | (b[off+3] & 0xff) << 8) << 16;