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

Jean-Noël Rouvignac
01.27.2016 4bed4a99e8e37c7e1cbcbcb1eec5ecb8e6360809
opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
@@ -95,19 +95,19 @@
        || attrValue instanceof Double)
    {
      // coming first because they are the most common types
      syntax = getDefaultStringSyntax();
      syntax = CoreSchema.getDirectoryStringSyntax();
    }
    else if (attrValue instanceof Number)
    {
      syntax = getDefaultIntegerSyntax();
      syntax = CoreSchema.getIntegerSyntax();
    }
    else if (attrValue instanceof Boolean)
    {
      syntax = getDefaultBooleanSyntax();
      syntax = CoreSchema.getBooleanSyntax();
    }
    else if (attrValue instanceof DN)
    {
      syntax = getDefaultDNSyntax();
      syntax = CoreSchema.getDNSyntax();
    }
    else if (attrValue instanceof Date)
    {
@@ -125,7 +125,7 @@
    }
    else
    {
      syntax = getDefaultStringSyntax();
      syntax = CoreSchema.getDirectoryStringSyntax();
    }
    add(attrName, syntax, attrValue);
  }