Skip to content

Commit

Permalink
"occured" -> "occurred" in SmaliTestUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusFreke committed May 23, 2018
1 parent 5c5e4ae commit 0a88396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smali/src/main/java/org/jf/smali/SmaliTestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static ClassDef compileSmali(String smaliText, int apiLevel)
smaliParser.smali_file_return result = parser.smali_file();

if(parser.getNumberOfSyntaxErrors() > 0 || lexer.getNumberOfSyntaxErrors() > 0) {
throw new RuntimeException("Error occured while compiling text");
throw new RuntimeException("Error occurred while compiling text");
}

CommonTree t = result.getTree();
Expand All @@ -87,7 +87,7 @@ public static ClassDef compileSmali(String smaliText, int apiLevel)
dexGen.smali_file();

if (dexGen.getNumberOfSyntaxErrors() > 0) {
throw new RuntimeException("Error occured while compiling text");
throw new RuntimeException("Error occurred while compiling text");
}

MemoryDataStore dataStore = new MemoryDataStore();
Expand Down

0 comments on commit 0a88396

Please sign in to comment.