mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 12:10:46 +00:00
code hint fixes
This commit is contained in:
@@ -74,7 +74,10 @@ public class IndexInputStream extends InputStream {
|
||||
public String readString() throws IOException {
|
||||
int len = (int) readInt();
|
||||
byte data[] = new byte[len];
|
||||
read(data);
|
||||
if (read(data) != len) {
|
||||
throw new IOException();
|
||||
}
|
||||
|
||||
return new String(data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user