| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2015 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | { |
| | | private static final long serialVersionUID = -8556383593966382604L; |
| | | |
| | | private Set<SchemaElementSelectionListener> listeners = |
| | | new HashSet<SchemaElementSelectionListener>(); |
| | | private Set<SchemaElementSelectionListener> listeners = new HashSet<>(); |
| | | |
| | | /** |
| | | * The empty border shared by all the schema element panels. |
| | |
| | | */ |
| | | protected Set<String> getAliases(AttributeType attr) |
| | | { |
| | | Set<String> aliases = new LinkedHashSet<String>(); |
| | | Set<String> aliases = new LinkedHashSet<>(); |
| | | Iterable<String> ocNames = attr.getNormalizedNames(); |
| | | String primaryName = attr.getPrimaryName(); |
| | | if (primaryName == null) |
| | |
| | | */ |
| | | protected Set<String> getAliases(ObjectClass oc) |
| | | { |
| | | Set<String> aliases = new LinkedHashSet<String>(); |
| | | Set<String> aliases = new LinkedHashSet<>(); |
| | | Iterable<String> ocNames = oc.getNormalizedNames(); |
| | | String primaryName = oc.getPrimaryName(); |
| | | if (primaryName == null) |