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

Jean-Noël Rouvignac
04.47.2016 8ca638034127ea5c5911ebcd13ff33e742e06784
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java
@@ -101,6 +101,7 @@
import org.opends.guitools.controlpanel.util.Utilities;
import org.opends.quicksetup.ui.CustomHTMLEditorKit;
import org.opends.server.types.OpenDsException;
import org.opends.server.types.Schema;
import org.opends.server.util.ServerConstants;
import org.opends.server.util.StaticUtils;
@@ -1029,6 +1030,18 @@
  }
  /**
   * Returns whether the provided attribute name has binary syntax.
   * @param attrName the attribute name.
   * @return {@code true} if the provided attribute name has binary syntax,
   * {@code false} otherwise.
   */
  protected boolean isBinary(String attrName)
  {
    Schema schema = getInfo().getServerDescriptor().getSchema();
    return Utilities.hasBinarySyntax(attrName, schema);
  }
  /**
   * Returns the control panel info object.
   *
   * @return the control panel info object.