Merge pull request #19 from Kobata/access-merging

Don't overwrite existing AccessChange when adding duplicate.
This commit is contained in:
md-5 2014-06-03 15:32:13 +10:00
commit cfcc76a83a

View File

@ -142,7 +142,9 @@ public class AccessMap {
System.out.println("INFO: merging AccessMap " + key + " from " + map.get(key) + " with " + accessChange);
map.get(key).merge(accessChange);
}
map.put(key, accessChange);
else {
map.put(key, accessChange);
}
}
public int applyClassAccess(String className, int access) {