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

kenneth_suter
16.56.2007 46f64d6b7b18945b4d609fabe9ac87b3f6cb8f30
opends/src/server/org/opends/server/core/SchemaConfigManager.java
@@ -117,7 +117,11 @@
  {
    File schemaDir =
              DirectoryServer.getEnvironmentConfig().getSchemaDirectory();
    return schemaDir.getAbsolutePath();
    if (schemaDir != null) {
      return schemaDir.getAbsolutePath();
    } else {
      return null;
    }
  }
@@ -212,7 +216,7 @@
    try
    {
      if (! schemaDir.exists())
      if (schemaDirPath == null || ! schemaDir.exists())
      {
        Message message = ERR_CONFIG_SCHEMA_NO_SCHEMA_DIR.get(schemaDirPath);
        throw new InitializationException(message);