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/DN2ID.java | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
index 607da42..6c05c79 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
@@ -42,7 +42,7 @@
* for each entry. The key is the normalized entry DN and the value
* is the entry ID.
*/
-public class DN2ID extends DatabaseContainer
+class DN2ID extends DatabaseContainer
{
private final int prefixRDNComponents;
@@ -82,25 +82,6 @@
}
/**
- * Write a record to the DN database. If a record with the given key already
- * exists, the record will be replaced, otherwise a new record will be
- * inserted.
- * @param txn A JE database transaction to be used for the database operation,
- * or null if none.
- * @param dn The entry DN, which is the key to the record.
- * @param id The entry ID, which is the value of the record.
- * @throws StorageRuntimeException If an error occurred while attempting to write
- * the record.
- */
- public void put(WriteableStorage txn, DN dn, EntryID id) throws StorageRuntimeException
- {
- ByteString key = dnToDNKey(dn, prefixRDNComponents);
- ByteString value = id.toByteString();
-
- put(txn, key, value);
- }
-
- /**
* Write a record to the DN database, where the key and value are already
* formatted.
*
--
Gitblit v1.10.0