From 24ef7c741bf20dabe8a5be3978187f8f1eb5dd41 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 27 Mar 2015 15:57:07 +0000
Subject: [PATCH] OPENDJ-1849 Remove references to JE from pluggable backend
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Entry.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Entry.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Entry.java
index a09ebbc..aec2541 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Entry.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Entry.java
@@ -227,8 +227,7 @@
* @param dataConfig The desired compression and encryption options for data
* stored in the entry database.
* @param entryContainer The entryContainer of the entry database.
- * @throws StorageRuntimeException If an error occurs in the JE database.
- *
+ * @throws StorageRuntimeException If an error occurs in the database.
*/
ID2Entry(TreeName name, DataConfig dataConfig) throws StorageRuntimeException
{
@@ -312,10 +311,10 @@
/**
* Write a record in the entry database.
*
- * @param txn The database transaction or null if none.
+ * @param txn a non null database transaction
* @param id The entry ID which forms the key.
* @param entry The LDAP entry.
- * @throws StorageRuntimeException If an error occurs in the JE database.
+ * @throws StorageRuntimeException If an error occurs in the database.
* @throws DirectoryException If a problem occurs while attempting to encode
* the entry.
*/
@@ -338,10 +337,10 @@
/**
* Remove a record from the entry database.
*
- * @param txn The database transaction or null if none.
+ * @param txn a non null database transaction
* @param id The entry ID which forms the key.
* @return true if the entry was removed, false if it was not.
- * @throws StorageRuntimeException If an error occurs in the JE database.
+ * @throws StorageRuntimeException If an error occurs in the database.
*/
boolean remove(WriteableTransaction txn, EntryID id) throws StorageRuntimeException
{
@@ -351,11 +350,11 @@
/**
* Fetch a record from the entry database.
*
- * @param txn The database transaction or null if none.
+ * @param txn a non null database transaction
* @param id The desired entry ID which forms the key.
* @return The requested entry, or null if there is no such record.
* @throws DirectoryException If a problem occurs while getting the entry.
- * @throws StorageRuntimeException If an error occurs in the JE database.
+ * @throws StorageRuntimeException If an error occurs in the database.
*/
public Entry get(ReadableTransaction txn, EntryID id)
throws DirectoryException, StorageRuntimeException
--
Gitblit v1.10.0