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

Nicolas Capponi
19.03.2016 1afeb00abfb007ef9322d2060896353aeb3efdc4
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/SchemaElementPanel.java
@@ -110,16 +110,13 @@
  protected void objectClassSelected(JList<?> list)
  {
    String o = (String)list.getSelectedValue();
    if (o != null)
    Schema schema = getInfo().getServerDescriptor().getSchema();
    if (o != null && schema != null)
    {
      Schema schema = getInfo().getServerDescriptor().getSchema();
      if (schema != null)
      ObjectClass oc = schema.getObjectClass(o.toLowerCase());
      if (!oc.isPlaceHolder())
      {
        ObjectClass oc = schema.getObjectClass(o.toLowerCase());
        if (oc != null)
        {
          notifySchemaSelectionListeners(oc);
        }
        notifySchemaSelectionListeners(oc);
      }
    }
  }