From eeee7d47158a5e22aaf3d98f45db724ba4f60f1b Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 23 Jan 2015 12:27:03 +0000
Subject: [PATCH] Reduce methods visibility Fixed up javadocs
---
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/ID2Entry.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/ID2Entry.java b/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/ID2Entry.java
index 361ef01..90b83a0 100644
--- a/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/ID2Entry.java
+++ b/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/ID2Entry.java
@@ -298,8 +298,7 @@
* @throws DirectoryException If a problem occurs while attempting to encode
* the entry.
*/
- public static ByteString entryToDatabase(Entry entry, DataConfig dataConfig)
- throws DirectoryException
+ static ByteString entryToDatabase(Entry entry, DataConfig dataConfig) throws DirectoryException
{
EntryCodec codec = acquireEntryCodec();
try
@@ -326,8 +325,7 @@
* @throws DirectoryException If a problem occurs while attempting to encode
* the entry.
*/
- public boolean insert(WriteableStorage txn, EntryID id, Entry entry)
- throws StorageRuntimeException, DirectoryException
+ boolean insert(WriteableStorage txn, EntryID id, Entry entry) throws StorageRuntimeException, DirectoryException
{
ByteString key = id.toByteString();
EntryCodec codec = acquireEntryCodec();
@@ -376,7 +374,7 @@
* @return true if the entry was removed, false if it was not.
* @throws StorageRuntimeException If an error occurs in the JE database.
*/
- public boolean remove(WriteableStorage txn, EntryID id) throws StorageRuntimeException
+ boolean remove(WriteableStorage txn, EntryID id) throws StorageRuntimeException
{
return delete(txn, id.toByteString());
}
--
Gitblit v1.10.0