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

Jean-Noel Rouvignac
27.02.2015 146873b8af444f3d215ed4f60d991479c8bc4f54
OPENDJ-1849 Remove references to JE from pluggable backend

Renamed JECompressedSchema to PersistentCompressedSchema
1 files renamed
1 files modified
10 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/PersistentCompressedSchema.java 6 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/RootContainer.java 4 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/PersistentCompressedSchema.java
File was renamed from opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java
@@ -55,7 +55,7 @@
 * This class provides a compressed schema implementation whose definitions are
 * persisted in a database.
 */
final class JECompressedSchema extends CompressedSchema
final class PersistentCompressedSchema extends CompressedSchema
{
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
@@ -69,7 +69,7 @@
  /** The compressed object class set schema tree. */
  private static final TreeName ocTreeName = new TreeName("compressed_schema", DB_NAME_OC);
  /** The environment in which the databases are held. */
  /** The storage in which the databases are held. */
  private Storage storage;
  private final ByteStringBuilder storeAttributeWriterBuffer = new ByteStringBuilder();
@@ -93,7 +93,7 @@
   *           If an error occurs while loading and processing the compressed
   *           schema definitions.
   */
  JECompressedSchema(final Storage storage, WriteableTransaction txn)
  PersistentCompressedSchema(final Storage storage, WriteableTransaction txn)
      throws StorageRuntimeException, InitializationException
  {
    this.storage = storage;
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/RootContainer.java
@@ -135,7 +135,7 @@
  private AtomicLong nextid = new AtomicLong(1);
  /** The compressed schema manager for this backend. */
  private JECompressedSchema compressedSchema;
  private PersistentCompressedSchema compressedSchema;
  /**
   * Creates a new RootContainer object. Each root container represents a JE
@@ -360,7 +360,7 @@
        @Override
        public void run(WriteableTransaction txn) throws Exception
        {
          compressedSchema = new JECompressedSchema(storage, txn);
          compressedSchema = new PersistentCompressedSchema(storage, txn);
          openAndRegisterEntryContainers(txn, config.getBaseDN());
        }
      });