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/JebFormat.java |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JebFormat.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JebFormat.java
index dfb6540..881d1c6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JebFormat.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/JebFormat.java
@@ -38,11 +38,7 @@
 {
 
   /** The format version used by this class to encode and decode a ByteString. */
-  public static final byte FORMAT_VERSION = 0x01;
-  /** The ASN1 tag for the ByteString type. */
-  public static final byte TAG_DATABASE_ENTRY = 0x60;
-  /** The ASN1 tag for the DirectoryServerEntry type. */
-  public static final byte TAG_DIRECTORY_SERVER_ENTRY = 0x61;
+  static final byte FORMAT_VERSION = 0x01;
 
   /**
    * Find the length of bytes that represents the superior DN of the given DN
@@ -53,7 +49,7 @@
    * @return The length of the superior DN or -1 if the given dn is the root DN
    *         or 0 if the superior DN is removed.
    */
-  public static int findDNKeyParent(ByteSequence dnKey)
+  static int findDNKeyParent(ByteSequence dnKey)
   {
     if (dnKey.length() == 0)
     {
@@ -81,7 +77,7 @@
    *                   representation.
    * @return A ByteString containing the key.
    */
-  public static ByteString dnToDNKey(DN dn, int prefixRDNs)
+  static ByteString dnToDNKey(DN dn, int prefixRDNs)
   {
     final ByteStringBuilder builder = new ByteStringBuilder();
     final int startSize = dn.size() - prefixRDNs - 1;

--
Gitblit v1.10.0