| | |
| | | private final LocalizableMessage STANDARD_ATTRIBUTES = INFO_CTRL_PANEL_STANDARD_ATTRIBUTES_LABEL.get(); |
| | | |
| | | /** The list of standard attribute names. */ |
| | | private final TreeSet<String> standardAttrNames = new TreeSet<String>(new LowerCaseComparator()); |
| | | private final TreeSet<String> standardAttrNames = new TreeSet<>(new LowerCaseComparator()); |
| | | /** The list of configuration attribute names. */ |
| | | private final TreeSet<String> configurationAttrNames = new TreeSet<String>(new LowerCaseComparator()); |
| | | private final TreeSet<String> configurationAttrNames = new TreeSet<>(new LowerCaseComparator()); |
| | | /** The list of custom attribute names. */ |
| | | private final TreeSet<String> customAttrNames = new TreeSet<String>(new LowerCaseComparator()); |
| | | private final TreeSet<String> customAttrNames = new TreeSet<>(new LowerCaseComparator()); |
| | | |
| | | /** |
| | | * Constructor. |
| | |
| | | */ |
| | | protected List<VLVSortOrder> getSortOrder() |
| | | { |
| | | List<VLVSortOrder> sortOrder = new ArrayList<VLVSortOrder>(); |
| | | List<VLVSortOrder> sortOrder = new ArrayList<>(); |
| | | for (int i = 0; i < sortOrderModel.getSize(); i++) |
| | | { |
| | | sortOrder.add((VLVSortOrder) sortOrderModel.get(i)); |
| | | } |
| | | |
| | | return sortOrder; |
| | | } |
| | | |
| | |
| | | if (schema != null) |
| | | { |
| | | repack[0] = attributes.getItemCount() == 0; |
| | | LinkedHashSet<CategorizedComboBoxElement> newElements = new LinkedHashSet<CategorizedComboBoxElement>(); |
| | | LinkedHashSet<CategorizedComboBoxElement> newElements = new LinkedHashSet<>(); |
| | | |
| | | synchronized (standardAttrNames) |
| | | { |
| | |
| | | try |
| | | { |
| | | LDAPFilter ldapFilter = LDAPFilter.decode(f); |
| | | ArrayList<LocalizableMessage> msgs = new ArrayList<LocalizableMessage>(); |
| | | ArrayList<LocalizableMessage> msgs = new ArrayList<>(); |
| | | updateIndexRequiredMessages(ldapFilter, msgs); |
| | | if (!msgs.isEmpty()) |
| | | { |
| | |
| | | */ |
| | | protected void updateBaseDNCombo(BackendDescriptor backend) |
| | | { |
| | | List<Object> newElements = new ArrayList<Object>(); |
| | | List<Object> newElements = new ArrayList<>(); |
| | | for (BaseDNDescriptor baseDN : backend.getBaseDns()) |
| | | { |
| | | String dn = null; |
| | |
| | | |
| | | BackendDescriptor backend = getBackend(); |
| | | |
| | | List<LocalizableMessage> errors = new ArrayList<LocalizableMessage>(); |
| | | List<LocalizableMessage> errors = new ArrayList<>(); |
| | | if (checkName) |
| | | { |
| | | String n = name.getText(); |