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

Jean-Noel Rouvignac
16.02.2015 e3fed6978fb8085b119df2966b5c27785756d70b
opendj-server-legacy/src/test/java/org/opends/server/schema/GenericSchemaTestCase.java
@@ -408,13 +408,13 @@
    }
    // It must contain at least one period.
    if (oid.indexOf(".") < 0)
    if (!oid.contains("."))
    {
      return false;
    }
    // It must not contain any double periods.
    if (oid.indexOf("..") >= 0)
    if (oid.contains(".."))
    {
      return false;
    }