diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java index 2c619984..fd5dfc1d 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ARSCDecoder.java @@ -86,7 +86,7 @@ public class ARSCDecoder { private ResPackage readPackage() throws IOException, AndrolibException { checkChunkType(Header.TYPE_PACKAGE); int id = (byte) mIn.readInt(); - String name = mIn.readNulEndedString(128, true); + String name = mIn.readNullEndedString(128, true); /* typeNameStrings */mIn.skipInt(); /* typeNameCount */mIn.skipInt(); /* specNameStrings */mIn.skipInt(); diff --git a/brut.j.util/src/main/java/brut/util/ExtDataInput.java b/brut.j.util/src/main/java/brut/util/ExtDataInput.java index 7ef14951..4b4884ba 100644 --- a/brut.j.util/src/main/java/brut/util/ExtDataInput.java +++ b/brut.j.util/src/main/java/brut/util/ExtDataInput.java @@ -66,7 +66,7 @@ public class ExtDataInput extends DataInputDelegate { } } - public String readNulEndedString(int length, boolean fixed) + public String readNullEndedString(int length, boolean fixed) throws IOException { StringBuilder string = new StringBuilder(16); while(length-- != 0) {