occured -> occurred

This commit is contained in:
Ben Gruver 2013-12-07 14:46:44 -08:00
parent d0c0c84d66
commit 68564258a3
3 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ public class baksmali {
Iterables.concat(options.bootClassPathEntries, extraClassPathEntries), dexFile, Iterables.concat(options.bootClassPathEntries, extraClassPathEntries), dexFile,
options.apiLevel); options.apiLevel);
} catch (Exception ex) { } 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); ex.printStackTrace(System.err);
return false; return false;
} }
@ -217,7 +217,7 @@ public class baksmali {
writer = new IndentingWriter(bufWriter); writer = new IndentingWriter(bufWriter);
classDefinition.writeTo((IndentingWriter)writer); classDefinition.writeTo((IndentingWriter)writer);
} catch (Exception ex) { } 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(); ex.printStackTrace();
// noinspection ResultOfMethodCallIgnored // noinspection ResultOfMethodCallIgnored
smaliFile.delete(); smaliFile.delete();
@ -229,7 +229,7 @@ public class baksmali {
try { try {
writer.close(); writer.close();
} catch (Throwable ex) { } 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(); ex.printStackTrace();
} }
} }

View File

@ -12,7 +12,7 @@
.registers 2 .registers 2
.annotation runtime Lorg/junit/Test; .annotation runtime Lorg/junit/Test;
.end annotation .end annotation
const v0, 0 const v0, 0
invoke-static {}, LSpecialInstructionPaddingTest;->paddingTest()I invoke-static {}, LSpecialInstructionPaddingTest;->paddingTest()I
move-result v0 move-result v0
@ -120,7 +120,7 @@
:Label13 :Label13
.end packed-switch .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 #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. #instruction to be 2 bytes more than it should be.
# #

View File

@ -142,7 +142,7 @@ public class ClassFileNameHandler {
writer.close(); writer.close();
f.delete(); //doesn't throw IOException f.delete(); //doesn't throw IOException
} catch (IOException ex) { } 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; return true;
} }
} }