mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-22 17:57:35 +01:00
remove shorthand if statement syntax
This commit is contained in:
parent
5d383e4a62
commit
40ece96a1a
@ -36,10 +36,11 @@ public class ResResSpec {
|
|||||||
String cleanName;
|
String cleanName;
|
||||||
|
|
||||||
ResResSpec resResSpec = type.getResSpecUnsafe(name);
|
ResResSpec resResSpec = type.getResSpecUnsafe(name);
|
||||||
if (resResSpec != null)
|
if (resResSpec != null) {
|
||||||
cleanName = name + "_APKTOOL_DUPLICATENAME_" + id.toString();
|
cleanName = name + "_APKTOOL_DUPLICATENAME_" + id.toString();
|
||||||
else
|
} else {
|
||||||
cleanName = (name.isEmpty() ? ("APKTOOL_DUMMYVAL_" + id.toString()) : name);
|
cleanName = (name.isEmpty() ? ("APKTOOL_DUMMYVAL_" + id.toString()) : name);
|
||||||
|
}
|
||||||
|
|
||||||
this.mName = cleanName;
|
this.mName = cleanName;
|
||||||
this.mPackage = pkg;
|
this.mPackage = pkg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user