Merge pull request #81 from NeoSpb/fix_deobf

fix deobfuscation
This commit is contained in:
skylot
2015-08-15 20:20:03 +03:00
@@ -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();
}