From 664be7d7d84b5c78001d984bd4ab51caa5273b80 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 26 Mar 2015 13:25:27 +0000
Subject: [PATCH] Renamed ReadableStorage and WriteableStorage to ReadableTransaction and WriteableTransaction. Code review: Matthew Swift
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java
index dcc99ce..618fe4d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JECompressedSchema.java
@@ -44,7 +44,7 @@
import org.opends.server.backends.pluggable.spi.StorageRuntimeException;
import org.opends.server.backends.pluggable.spi.TreeName;
import org.opends.server.backends.pluggable.spi.WriteOperation;
-import org.opends.server.backends.pluggable.spi.WriteableStorage;
+import org.opends.server.backends.pluggable.spi.WriteableTransaction;
import org.opends.server.core.DirectoryServer;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.InitializationException;
@@ -93,7 +93,7 @@
* If an error occurs while loading and processing the compressed
* schema definitions.
*/
- JECompressedSchema(final Storage storage, WriteableStorage txn)
+ JECompressedSchema(final Storage storage, WriteableTransaction txn)
throws StorageRuntimeException, InitializationException
{
this.storage = storage;
@@ -159,7 +159,7 @@
* @throws InitializationException
* If an error occurs while loading and processing the definitions.
*/
- private void load(WriteableStorage txn) throws StorageRuntimeException, InitializationException
+ private void load(WriteableTransaction txn) throws StorageRuntimeException, InitializationException
{
txn.openTree(adTreeName);
txn.openTree(ocTreeName);
@@ -236,7 +236,7 @@
storage.write(new WriteOperation()
{
@Override
- public void run(WriteableStorage txn) throws Exception
+ public void run(WriteableTransaction txn) throws Exception
{
txn.put(treeName, keyEntry, value);
}
--
Gitblit v1.10.0