in src/main/java/org/apache/sling/jackrabbit/usermanager/AuthorizablePrivilegesInfo.java [61:79]
public static PropertyUpdateTypes convertDeprecated(PropertyUpdateTypes updateType) {
PropertyUpdateTypes converted = null;
if (addProperty.equals(updateType)) { //NOSONAR
converted = ADD_PROPERTY;
} else if (addNestedProperty.equals(updateType)) { //NOSONAR
converted = ADD_NESTED_PROPERTY;
} else if (alterProperty.equals(updateType)) { //NOSONAR
converted = ALTER_PROPERTY;
} else if (removeProperty.equals(updateType)) { //NOSONAR
converted = REMOVE_PROPERTY;
}
if (converted == null) {
// not one of the deprecated items, so just
// return the original
converted = updateType;
}
return converted;
}