mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
25.17.2016 01bf9b6a5d324d45355659581e9ebbd1280834fe
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/nodes/BasicNode.java
@@ -19,10 +19,10 @@
import javax.swing.Icon;
import javax.swing.tree.DefaultMutableTreeNode;
import org.opends.guitools.controlpanel.browser.BasicNodeError;
import org.forgerock.opendj.ldap.DN;
import org.opends.server.types.LDAPURL;
import org.forgerock.opendj.ldap.RDN;
import org.opends.guitools.controlpanel.browser.BasicNodeError;
import org.opends.server.types.LDAPURL;
/** The basic node used to render entries in the 'Manage Entries' tree. */
public class BasicNode extends DefaultMutableTreeNode {
@@ -388,7 +388,8 @@
   * or not.
   * @return the RDN value from the DN.
   */
  public static String extractRDN(String dn, boolean showAttributeName) {
  private static String extractRDN(String dn, boolean showAttributeName)
  {
    String result;
    if (dn == null)
    {
@@ -429,7 +430,8 @@
   * @param dn the DN.
   * @return the RDN value from the DN.
   */
  public static String extractRDN(String dn) {
  private static String extractRDN(String dn)
  {
    return extractRDN(dn, false);
  }