< prev index next >
src/java.base/share/classes/com/sun/java/util/jar/pack/BandStructure.java
Print this page
@@ -911,11 +911,11 @@
int ch = in.read();
if (ch >= 0) bytesForDump.write(ch);
return ch;
}
@Override
- public int read(byte b[], int off, int len) throws IOException {
+ public int read(byte[] b, int off, int len) throws IOException {
int nr = in.read(b, off, len);
if (nr >= 0) bytesForDump.write(b, off, nr);
return nr;
}
};
@@ -1376,11 +1376,11 @@
public void write(int b) throws IOException {
count++;
if (out != null) out.write(b);
}
@Override
- public void write(byte b[], int off, int len) throws IOException {
+ public void write(byte[] b, int off, int len) throws IOException {
count += len;
if (out != null) out.write(b, off, len);
}
@Override
public String toString() {
< prev index next >