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

Chris Ridd
01.21.2013 425ecf343bc90414dbcd241982d96b18dfbca253
Fix OPENDJ-750 SNMP: impossible to get the operation counters for a LDAP connection handler
1 files modified
4 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPStatistics.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPStatistics.java
@@ -654,7 +654,7 @@
  /**
   * Constructs an attribute using the provided information. It will
   * have the default syntax.
   * use the server's schema definitions.
   *
   * @param name
   *          The name to use for the attribute.
@@ -665,7 +665,7 @@
  private Attribute createAttribute(String name, String value)
  {
    AttributeType attrType =
        DirectoryServer.getDefaultAttributeType(name);
      DirectoryServer.getAttributeType(name.toLowerCase());
    AttributeBuilder builder = new AttributeBuilder(attrType, name);
    builder.add(AttributeValues.create(attrType, value));