public boolean implies(Permission perm) { if (allPermission != null) { return true; } final PermissionCollection pc = (PermissionCollection) perms.get(perm .getClass()); if (pc == null) { return false; } else { return pc.implies(perm); }
public boolean implies(Permission perm) { if (allPermission != null) return true; PermissionCollection pc = (PermissionCollection) perms.get(perm.getClass()); return pc == null ? false : pc.implies(perm);
    public boolean implies(Permission perm) {        if (allPermission != null) { return true; }        final PermissionCollection pc = (PermissionCollection) perms.get(perm                .getClass());        if (pc == null) {            return false;        } else {            return pc.implies(perm);        }    }