mirror of
https://github.com/revanced/smali.git
synced 2025-05-08 10:24:31 +02:00
Incorporate the null check from the previous commit into the containing if statement
git-svn-id: https://smali.googlecode.com/svn/trunk@763 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
ecc73ab3f5
commit
9c79173818
@ -104,11 +104,8 @@ public class ClassDefinition {
|
||||
}
|
||||
|
||||
for (ClassDataItem.EncodedMethod directMethod: classDataItem.getDirectMethods()) {
|
||||
if (directMethod.method.getMethodName().getStringValue().equals("<clinit>")) {
|
||||
if (directMethod.codeItem == null) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (directMethod.method.getMethodName().getStringValue().equals("<clinit>") &&
|
||||
directMethod.codeItem != null) {
|
||||
for (Instruction instruction: directMethod.codeItem.getInstructions()) {
|
||||
switch (instruction.opcode) {
|
||||
case SPUT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user