From fa81c7ee1df510f6fe13c59018456c513b71e828 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 23 Feb 2007 00:08:10 +0000
Subject: [PATCH] Update the DN class to remove the "public" modifier from a few methods that are intended only for internal use.

---
 opendj-sdk/opends/src/server/org/opends/server/types/DN.java |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/types/DN.java b/opendj-sdk/opends/src/server/org/opends/server/types/DN.java
index 99fdedc..c6d3aae 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/types/DN.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/types/DN.java
@@ -1267,9 +1267,9 @@
    *                              valid attribute name from the
    *                              provided DN string.
    */
-  public static int parseAttributeName(byte[] dnBytes, int pos,
-                                       StringBuilder attributeName,
-                                       boolean allowExceptions)
+  static int parseAttributeName(byte[] dnBytes, int pos,
+                                StringBuilder attributeName,
+                                boolean allowExceptions)
           throws DirectoryException
   {
     assert debugEnter(CLASS_NAME, "parseAttributeName",
@@ -1689,9 +1689,9 @@
    *                              valid attribute name from the
    *                              provided DN string.
    */
-  public static int parseAttributeName(String dnString, int pos,
-                                       StringBuilder attributeName,
-                                       boolean allowExceptions)
+  static int parseAttributeName(String dnString, int pos,
+                                StringBuilder attributeName,
+                                boolean allowExceptions)
           throws DirectoryException
   {
     assert debugEnter(CLASS_NAME, "parseAttributeName",
@@ -2103,8 +2103,8 @@
    *                              valid attribute value from the
    *                              provided DN string.
    */
-  public static int parseAttributeValue(byte[] dnBytes, int pos,
-                                        ByteString attributeValue)
+  static int parseAttributeValue(byte[] dnBytes, int pos,
+                                 ByteString attributeValue)
           throws DirectoryException
   {
     assert debugEnter(CLASS_NAME, "parseAttributeValue",
@@ -2370,8 +2370,8 @@
    *                              valid attribute value from the
    *                              provided DN string.
    */
-  public static int parseAttributeValue(String dnString, int pos,
-                                        ByteString attributeValue)
+  static int parseAttributeValue(String dnString, int pos,
+                                 ByteString attributeValue)
           throws DirectoryException
   {
     assert debugEnter(CLASS_NAME, "parseAttributeValue",
@@ -2698,9 +2698,9 @@
    * @throws  DirectoryException  If any problem occurs during the
    *                              decoding process.
    */
-  public static void appendHexChars(String dnString,
-                                    StringBuilder valueString,
-                                    StringBuilder hexChars)
+  private static void appendHexChars(String dnString,
+                                     StringBuilder valueString,
+                                     StringBuilder hexChars)
           throws DirectoryException
   {
     try

--
Gitblit v1.10.0