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

Jean-Noel Rouvignac
14.05.2014 3c47c41e9ebd977095879ade126e348ee0b2d5d9
opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java
@@ -2350,18 +2350,14 @@
   */
  public static String getMatchingRuleText(MatchingRule matchingRule)
  {
    String returnValue;
    String name = matchingRule.getName();
    String nameOrOID = matchingRule.getNameOrOID();
    String oid = matchingRule.getOID();
    if (name == null)
    if (!nameOrOID.equals(oid))
    {
      returnValue = oid;
      // This is the name only
      return nameOrOID + " - " + oid;
    }
    else
    {
      returnValue = name+" - "+oid;
    }
    return returnValue;
    return oid;
  }
  /**