Skip to content

Commit

Permalink
occured -> occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusFreke committed Dec 9, 2013
1 parent d0c0c84 commit 6856425
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions baksmali/src/main/java/org/jf/baksmali/baksmali.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static boolean disassembleDexFile(DexFile dexFile, final baksmaliOptions
Iterables.concat(options.bootClassPathEntries, extraClassPathEntries), dexFile,
options.apiLevel);
} catch (Exception ex) {
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
System.err.println("\n\nError occurred while loading boot class path files. Aborting.");
ex.printStackTrace(System.err);
return false;
}
Expand Down Expand Up @@ -217,7 +217,7 @@ private static boolean disassembleClass(ClassDef classDef, ClassFileNameHandler
writer = new IndentingWriter(bufWriter);
classDefinition.writeTo((IndentingWriter)writer);
} catch (Exception ex) {
System.err.println("\n\nError occured while disassembling class " + classDescriptor.replace('/', '.') + " - skipping class");
System.err.println("\n\nError occurred while disassembling class " + classDescriptor.replace('/', '.') + " - skipping class");
ex.printStackTrace();
// noinspection ResultOfMethodCallIgnored
smaliFile.delete();
Expand All @@ -229,7 +229,7 @@ private static boolean disassembleClass(ClassDef classDef, ClassFileNameHandler
try {
writer.close();
} catch (Throwable ex) {
System.err.println("\n\nError occured while closing file " + smaliFile.toString());
System.err.println("\n\nError occurred while closing file " + smaliFile.toString());
ex.printStackTrace();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.registers 2
.annotation runtime Lorg/junit/Test;
.end annotation

const v0, 0
invoke-static {}, LSpecialInstructionPaddingTest;->paddingTest()I
move-result v0
Expand Down Expand Up @@ -120,7 +120,7 @@
:Label13
.end packed-switch

#this tests out an issue that occured where the prior packed switch data starts at a byte offset
#this tests out an issue that occurred where the prior packed switch data starts at a byte offset
#that is 4 byte aligned but isn't 8 byte aligned, which caused the code to report the size of the
#instruction to be 2 bytes more than it should be.
#
Expand Down
2 changes: 1 addition & 1 deletion util/src/main/java/org/jf/util/ClassFileNameHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private static boolean testForWindowsReservedFileNames(File path) {
writer.close();
f.delete(); //doesn't throw IOException
} catch (IOException ex) {
//if an exception occured, it's likely that we're on a windows system.
//if an exception occurred, it's likely that we're on a windows system.
return true;
}
}
Expand Down

0 comments on commit 6856425

Please sign in to comment.