From 4edcd4c0a84b20055ecf848b2f8e78137d9c1702 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 05 May 2008 14:08:53 +0000
Subject: [PATCH] Move the method wrapText form Utils to StatusCli since makes an unsafe reference to StaticUtils that could break the webstart installer.

---
 opends/src/quicksetup/org/opends/quicksetup/util/Utils.java |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
index 050ec4d..f2e6c79 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -1411,18 +1411,6 @@
             text.indexOf('>') != -1);
   }
 
-  /**
-   * Wraps a message accoring to client tool console width.
-   * @param text to wrap
-   * @return raw message representing wrapped string
-   */
-  static public Message wrap(Message text)
-  {
-    return Message.raw(
-            org.opends.server.util.StaticUtils.wrapText(text,
-                    getCommandLineMaxLineWidth()));
-  }
-
   private static EmptyPrintStream emptyStream = new EmptyPrintStream();
 
   /**

--
Gitblit v1.10.0