| | |
| | | } |
| | | } |
| | | |
| | | // If we got here the task either completed successfully or |
| | | // was interrupted |
| | | // If we got here the task either completed successfully or was interrupted |
| | | return getFinalTaskState(); |
| | | } |
| | | |
| | |
| | | HashSet<AttributeType> attributes = new HashSet<>(); |
| | | for (String attrName : attributeStrings) |
| | | { |
| | | String lowerName = attrName.toLowerCase(); |
| | | AttributeType attrType = DirectoryServer.getAttributeType(lowerName); |
| | | if (attrType == null) |
| | | { |
| | | attrType = DirectoryServer.getDefaultAttributeType(attrName); |
| | | } |
| | | |
| | | attributes.add(attrType); |
| | | attributes.add(DirectoryServer.getAttributeType(attrName.toLowerCase(), attrName)); |
| | | } |
| | | return attributes; |
| | | } |