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

Nicolas Capponi
14.06.2014 2dece15900c587dcc5fcfaf35c2acdbfb026de1f
opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/CustomAttributePanel.java
@@ -87,7 +87,6 @@
import org.forgerock.i18n.LocalizableMessageBuilder;
import org.opends.server.api.ApproximateMatchingRule;
import org.opends.server.api.AttributeSyntax;
import org.opends.server.api.EqualityMatchingRule;
import org.opends.server.api.MatchingRule;
import org.opends.server.api.OrderingMatchingRule;
import org.opends.server.api.SubstringMatchingRule;
@@ -770,7 +769,7 @@
        {
          approximateElements.add(matchingRule);
        }
        else if (matchingRule instanceof EqualityMatchingRule)
        else if (matchingRule instanceof MatchingRule)
        {
          equalityElements.add(matchingRule);
        }
@@ -1193,7 +1192,7 @@
    }
  }
  private EqualityMatchingRule getEqualityMatchingRule()
  private MatchingRule getEqualityMatchingRule()
  {
    if (equality.getSelectedIndex() == 0)
    {
@@ -1201,7 +1200,7 @@
    }
    else
    {
      return (EqualityMatchingRule)equality.getSelectedItem();
      return (MatchingRule)equality.getSelectedItem();
    }
  }