Fix bug in ReferenceMapper, return original mapping if no remap defined

This commit is contained in:
Mumfrey committed 2015-01-10 14:02:29 +00:00
1 parent 3fd6c5fc02
commit f556be1adc
1 file changed
+2 -1
@@ -63,7 +63,8 @@ public final class ReferenceMapper implements Serializable {
if (classMappings == null) {
return reference;
}
return classMappings.get(reference);
String remappedReference = classMappings.get(reference);
return remappedReference != null ? remappedReference : reference;
}
public void addMapping(String className, String reference, String newReference) {