From 14c17601c870593d4eb54c583fd7da7d1189d16f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 31 Aug 2007 20:34:36 +0000
Subject: [PATCH] Minor code clean-up: avoid cluttering up Javadoc - make CLIProfile and PropertyValueEditor package private and make several DSConfig inner classes and methods class private.

---
 opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java b/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java
index 4f1dc52..ed72af1 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java
@@ -85,7 +85,7 @@
   /**
    * A menu call-back which runs a sub-command interactively.
    */
-  public class SubCommandHandlerMenuCallback implements MenuCallback<Integer> {
+  private class SubCommandHandlerMenuCallback implements MenuCallback<Integer> {
 
     // The sub-command handler.
     private final SubCommandHandler handler;
@@ -135,7 +135,7 @@
   /**
    * The interactive mode sub-menu implementation.
    */
-  public class SubMenuCallback implements MenuCallback<Integer> {
+  private class SubMenuCallback implements MenuCallback<Integer> {
 
     // The menu.
     private final Menu<Integer> menu;
@@ -380,7 +380,7 @@
    *          The factory which this application instance should use
    *          for obtaining management contexts.
    */
-  public DSConfig(InputStream in, OutputStream out, OutputStream err,
+  private DSConfig(InputStream in, OutputStream out, OutputStream err,
       ManagementContextFactory factory) {
     super(in, out, err);
 
@@ -399,7 +399,7 @@
    * @throws InitializationException
    *           If the core APIs could not be initialized.
    */
-  public void initializeClientEnvironment() throws InitializationException {
+  private void initializeClientEnvironment() throws InitializationException {
     if (environmentInitialized == false) {
       EmbeddedUtils.initializeForClientUse();
 

--
Gitblit v1.10.0