- align user friendly name with draft-ietf-ldapext-psearch
- make a method signature independent from the implementation
Reviewed by Neil and Matt
| | |
| | | switch (intValue) |
| | | { |
| | | case 1: |
| | | return "Add"; |
| | | return "add"; |
| | | case 2: |
| | | return "Delete"; |
| | | return "delete"; |
| | | case 4: |
| | | return "Modify"; |
| | | return "modify"; |
| | | case 8: |
| | | return "Modify_DN"; |
| | | return "modDN"; |
| | | default: |
| | | return "unknown"; |
| | | } |
| | |
| | | * |
| | | * @return A string representation of the provided set of change types. |
| | | */ |
| | | public static String changeTypesToString(HashSet<PersistentSearchChangeType> |
| | | public static String changeTypesToString(Set<PersistentSearchChangeType> |
| | | changeTypes) |
| | | { |
| | | StringBuilder buffer = new StringBuilder(); |