summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler/util/DataInputFullStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/jetbrains/java/decompiler/util/DataInputFullStream.java')
-rw-r--r--src/org/jetbrains/java/decompiler/util/DataInputFullStream.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/jetbrains/java/decompiler/util/DataInputFullStream.java b/src/org/jetbrains/java/decompiler/util/DataInputFullStream.java
index a13b27c..0ed20dc 100644
--- a/src/org/jetbrains/java/decompiler/util/DataInputFullStream.java
+++ b/src/org/jetbrains/java/decompiler/util/DataInputFullStream.java
@@ -25,14 +25,14 @@ public class DataInputFullStream extends DataInputStream {
super(in);
}
- public final int readFull(byte b[]) throws IOException {
+ public final int readFull(byte[] b) throws IOException {
int length = b.length;
byte[] btemp = new byte[length];
int pos = 0;
int bytes_read = -1;
- for (; ; ) {
+ while (true) {
bytes_read = read(btemp, 0, length - pos);
if (bytes_read == -1) {
return -1;