From 8df85caca96d8bb79fcc2cf01cf6ef0a3f06930d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 13 Mar 2015 23:44:25 +0000
Subject: [PATCH] Minor code cleanup: remove DatabaseContainer.entryContainer field
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java
index 5389ff8..8406d26 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java
@@ -111,6 +111,7 @@
/**
* Create a new index object.
* @param name The name of the index database within the entryContainer.
+ * @param storage The JE Storage
* @param indexer The indexer object to construct index keys from LDAP
* attribute values.
* @param state The state database to persist index state info.
@@ -119,17 +120,16 @@
* @param cursorEntryLimit The configured limit on the number of entry IDs
* @param maintainCount Whether to maintain a count of IDs for a key once
* the entry limit has exceeded.
- * @param storage The JE Storage
* @param txn The transaction to use when creating this object
* @param entryContainer The database entryContainer holding this index.
* @throws StorageRuntimeException If an error occurs in the JE database.
*/
- Index(TreeName name, Indexer indexer, State state,
- int indexEntryLimit, int cursorEntryLimit, boolean maintainCount,
- Storage storage, WriteableStorage txn, EntryContainer entryContainer)
+ Index(TreeName name, Storage storage, Indexer indexer,
+ State state, int indexEntryLimit, int cursorEntryLimit,
+ boolean maintainCount, WriteableStorage txn, EntryContainer entryContainer)
throws StorageRuntimeException
{
- super(name, storage, entryContainer);
+ super(name, storage);
this.indexer = indexer;
this.indexEntryLimit = indexEntryLimit;
this.cursorEntryLimit = cursorEntryLimit;
--
Gitblit v1.10.0