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

Nicolas Capponi
19.39.2016 c3e4b02d4fb7c118b8be251f07cec2c6486e286b
opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
@@ -93,7 +93,6 @@
import org.opends.server.types.Attributes;
import org.opends.server.types.BackupConfig;
import org.opends.server.types.BackupDirectory;
import org.opends.server.types.CommonSchemaElements;
import org.opends.server.types.DITContentRule;
import org.opends.server.types.DITStructureRule;
import org.opends.server.types.DirectoryException;
@@ -660,9 +659,9 @@
    {
      /* Add the file name to the description of the element if this was requested by the caller. */
      String value;
      if (includeSchemaFile && element instanceof CommonSchemaElements)
      if (includeSchemaFile && element instanceof SchemaElement)
      {
        value = getDefinitionWithFileName((CommonSchemaElements) element);
        value = getDefinitionWithFileName((SchemaElement) element);
      }
      else
      {