mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 07:34:28 +02:00
occured -> occurred
This commit is contained in:
parent
d0c0c84d66
commit
68564258a3
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user