public static void removeAcl(boolean grant, Permission permssion, String key,
            List<AclModification> modifications) {
        if (grant) {
            key = AclModification.grantKey(key);
        } else {
            key = AclModification.denyKey(key);
        }
        modifications.add(new AclModification(key, ~permssion.getPermission(),
                AclModification.Operation.OP_AND));
    }
public static void removeAcl(boolean grant, Permission permssion, String key,
            List<AclModification> modifications) {
        if (grant) {
            key = AclModification.grantKey(key);
        } else {
            key = AclModification.denyKey(key);
        }
        modifications.add(new AclModification(key, ~permssion.getPermission(),
                AclModification.Operation.OP_AND));
    }
public static void removeAcl ( boolean grant , Permission permssion , String key , List < AclModification > modifications ) { if ( grant ) { key = AclModification . grantKey ( key ) ; } else { key = AclModification . denyKey ( key ) ; } modifications . add ( new AclModification ( key , ~ permssion . getPermission ( ) , AclModification . Operation . OP_AND ) ) ; }
TODO: Unit test
TODO : Unit test