From a3897bfe0daa8c46f365011306e2f3eaca5a4fd3 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Mon, 12 May 2014 17:11:28 -0500 Subject: [PATCH] [spelling] Nul -> Null --- .../src/main/java/brut/androlib/res/decoder/ARSCDecoder.java | 2 +- brut.j.util/src/main/java/brut/util/ExtDataInput.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {