From 763a75aeed1a7731ddb95b99496aa7c1bf206ed0 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 Feb 2015 00:31:10 +0000
Subject: [PATCH] OPENDJ-1855: Reformat and cleanup pluggable backend code: adjust visibility, findbugs, ucdetector, etc...
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
index ccc0e5b..7c5f8ac 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
@@ -650,8 +650,8 @@
}
}
- private void initializeSuffixes(WriteableStorage txn) throws StorageRuntimeException, ConfigException,
- InitializationException
+ private void initializeSuffixes(WriteableStorage txn) throws StorageRuntimeException,
+ ConfigException
{
for (EntryContainer ec : rootContainer.getEntryContainers())
{
@@ -707,7 +707,7 @@
}
private Suffix getSuffix(WriteableStorage txn, EntryContainer entryContainer)
- throws ConfigException, InitializationException
+ throws ConfigException
{
DN baseDN = entryContainer.getBaseDN();
EntryContainer sourceEntryContainer = null;
@@ -2926,11 +2926,8 @@
/**
* Print start message.
- *
- * @throws StorageRuntimeException
- * If an database error occurred.
*/
- public void printStartMessage(WriteableStorage txn) throws StorageRuntimeException
+ void printStartMessage(WriteableStorage txn) throws StorageRuntimeException
{
this.txn = txn;
totalEntries = suffix.getID2Entry().getRecordCount(txn);
@@ -3760,7 +3757,7 @@
*
* @return Entry's suffix instance;
*/
- public Suffix getSuffix()
+ private Suffix getSuffix()
{
return suffix;
}
@@ -3792,7 +3789,7 @@
*
* @return The entry ID associated with the entry.
*/
- public EntryID getEntryID()
+ private EntryID getEntryID()
{
return entryID;
}
@@ -3895,7 +3892,7 @@
*
* @return The attribute type.
*/
- public AttributeType getAttributeType()
+ private AttributeType getAttributeType()
{
return attributeType;
}
@@ -3905,7 +3902,7 @@
*
* @return The index type.
*/
- public ImportIndexType getIndexType()
+ private ImportIndexType getIndexType()
{
return indexType;
}
@@ -3917,7 +3914,7 @@
*
* @return The index key name.
*/
- public String getName()
+ private String getName()
{
return attributeType.getPrimaryName() + "."
+ StaticUtils.toLowerCase(indexType.name());
@@ -3928,7 +3925,7 @@
*
* @return The entry limit.
*/
- public int getEntryLimit()
+ private int getEntryLimit()
{
return entryLimit;
}
--
Gitblit v1.10.0