From 10a58f5110dd42aae14addffcfb981adc3e08c62 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 Feb 2015 22:32:52 +0000
Subject: [PATCH] OPENDJ-1855: minor code cleanup
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java
index 5a35d0d..2d4a796 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java
@@ -114,14 +114,6 @@
}
}
- /**
- * Replace or insert a record into a JE database, with optional debug logging.
- * This is a simple wrapper around the JE Database.put method.
- * @param txn The JE transaction handle, or null if none.
- * @param key The record key.
- * @param value The record value.
- * @throws StorageRuntimeException If an error occurs in the JE operation.
- */
void put(WriteableStorage txn, ByteSequence key, ByteSequence value) throws StorageRuntimeException
{
txn.create(treeName, key, value);
@@ -131,15 +123,6 @@
}
}
- /**
- * Read a record from a JE database, with optional debug logging. This is a
- * simple wrapper around the JE Database.get method.
- * @param txn The JE transaction handle, or null if none.
- * @param key The key of the record to be read.
- * @param isRMW whether the read operation is part of a larger read-modify-write operation
- * @return The operation status.
- * @throws StorageRuntimeException If an error occurs in the JE operation.
- */
ByteString read(ReadableStorage txn, ByteSequence key, boolean isRMW) throws StorageRuntimeException
{
ByteString value = isRMW ? txn.getRMW(treeName, key) : txn.read(treeName, key);
--
Gitblit v1.10.0