delegate existing access check to accessApplied method

This commit is contained in:
Abrar Syed 2015-09-10 13:07:55 -05:00 committed by md_5
parent e87c7889c9
commit fcd1c49bb7

View File

@ -194,8 +194,8 @@ public class AccessMap {
int newAccess = change.apply(existing); int newAccess = change.apply(existing);
if (newAccess != existing) { if (newAccess != existing) {
appliedMaps.add(key); appliedMaps.add(key);
accessApplied(key, existing, newAccess);
} }
accessApplied(key, existing, newAccess);
return newAccess; return newAccess;
} }
} }