diff options
| author | 2014-09-03 00:29:48 -0400 | |
|---|---|---|
| committer | 2014-09-03 00:29:48 -0400 | |
| commit | 3632307d9c5665edfca976e08931dc6cadf510a0 (patch) | |
| tree | 28d64a01dafeebb901a17037fc0c45f20562f2ef /src/cuchaz/enigma/mapping/ClassMapping.java | |
| parent | big refactor to better model class/method mappings with no deobf name (diff) | |
| download | enigma-fork-3632307d9c5665edfca976e08931dc6cadf510a0.tar.gz enigma-fork-3632307d9c5665edfca976e08931dc6cadf510a0.tar.xz enigma-fork-3632307d9c5665edfca976e08931dc6cadf510a0.zip | |
fixed issue with method renaming
Diffstat (limited to 'src/cuchaz/enigma/mapping/ClassMapping.java')
| -rw-r--r-- | src/cuchaz/enigma/mapping/ClassMapping.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuchaz/enigma/mapping/ClassMapping.java b/src/cuchaz/enigma/mapping/ClassMapping.java index bce16cc..6a89df7 100644 --- a/src/cuchaz/enigma/mapping/ClassMapping.java +++ b/src/cuchaz/enigma/mapping/ClassMapping.java | |||
| @@ -255,7 +255,7 @@ public class ClassMapping implements Serializable, Comparable<ClassMapping> | |||
| 255 | { | 255 | { |
| 256 | methodMapping = createMethodMapping( obfName, obfSignature ); | 256 | methodMapping = createMethodMapping( obfName, obfSignature ); |
| 257 | } | 257 | } |
| 258 | else | 258 | else if( methodMapping.getDeobfName() != null ) |
| 259 | { | 259 | { |
| 260 | boolean wasRemoved = m_methodsByDeobf.remove( getMethodKey( methodMapping.getDeobfName(), methodMapping.getDeobfSignature() ) ) != null; | 260 | boolean wasRemoved = m_methodsByDeobf.remove( getMethodKey( methodMapping.getDeobfName(), methodMapping.getDeobfSignature() ) ) != null; |
| 261 | assert( wasRemoved ); | 261 | assert( wasRemoved ); |