mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 18:34:45 +00:00
Merge pull request #118 from Chuckame/fix/convert-performance-issues
Fixed Multiname - performance issues
This commit is contained in:
@@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#1773] - Auto set flagWideCodes on FontInfo wide character adding
|
||||
- [#1769] - Do not mark getter+setter as colliding (#xxx suffix)
|
||||
- [#1801] - Flex SDK not required on commandline when Flex compilation is disabled
|
||||
- Multiname - performance issues
|
||||
|
||||
## [15.0.0] - 2021-11-29
|
||||
### Added
|
||||
|
||||
@@ -377,7 +377,7 @@ public class Multiname {
|
||||
}
|
||||
}
|
||||
|
||||
if (fullyQualifiedNames != null && fullyQualifiedNames.contains(DottedChain.parseWithSuffix(name))) {
|
||||
if (fullyQualifiedNames != null && !fullyQualifiedNames.isEmpty() && fullyQualifiedNames.contains(DottedChain.parseWithSuffix(name))) {
|
||||
DottedChain dc = getNameWithNamespace(abc.constants, withSuffix);
|
||||
return dontDeobfuscate ? dc.toRawString() : dc.toPrintableString(true);
|
||||
}
|
||||
@@ -396,7 +396,7 @@ public class Multiname {
|
||||
return isAttribute() ? "@*" : "*";
|
||||
} else {
|
||||
String name = constants.getString(name_index);
|
||||
if (fullyQualifiedNames != null && fullyQualifiedNames.contains(DottedChain.parseWithSuffix(name))) {
|
||||
if (fullyQualifiedNames != null && !fullyQualifiedNames.isEmpty() && fullyQualifiedNames.contains(DottedChain.parseWithSuffix(name))) {
|
||||
DottedChain dc = getNameWithNamespace(constants, withSuffix);
|
||||
return dontDeobfuscate ? dc.toRawString() : dc.toPrintableString(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user