Commit ffb97880 authored by skylot's avatar skylot

Merge pull request #81 from NeoSpb/fix_deobf

fix deobfuscation
parents 14b90466 5dd82eed
......@@ -61,10 +61,15 @@ public class PackageNode {
if (cachedPackageFullAlias == null) {
Stack<PackageNode> pp = getParentPackages();
StringBuilder result = new StringBuilder();
result.append(pp.pop().getAlias());
while (pp.size() > 0) {
result.append(SEPARATOR_CHAR);
if (pp.size() > 0) {
result.append(pp.pop().getAlias());
while (pp.size() > 0) {
result.append(SEPARATOR_CHAR);
result.append(pp.pop().getAlias());
}
} else {
result.append(this.getAlias());
}
cachedPackageFullAlias = result.toString();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment