From b40003d84a52b41f1188fc938d9827635aedb61a Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 9 Apr 1999 09:32:11 +0000 Subject: [PATCH] allow partial table git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@563 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/Identifier.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jode/jode/obfuscator/Identifier.java b/jode/jode/obfuscator/Identifier.java index 6eacb2a..669d493 100644 --- a/jode/jode/obfuscator/Identifier.java +++ b/jode/jode/obfuscator/Identifier.java @@ -221,8 +221,14 @@ public abstract class Identifier { } public void readTable(Hashtable table) { - if (isRepresentative()) - setAlias((String) table.get(getFullName())); + Identifier rep = getRepresentative(); + if (!rep.wasAliased) { + String newAlias = (String) table.get(getFullName()); + if (newAlias != null) { + rep.wasAliased = true; + rep.setAlias(newAlias); + } + } } public abstract void applyPreserveRule(int preserveRule);