From b7eaa6fa023b868aa8154610c05801a94ed0afea Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 05 Jan 2007 14:04:45 +0000
Subject: [PATCH] 

---
 opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallCli.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallCli.java b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallCli.java
index d83ae91..ba51251 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallCli.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallCli.java
@@ -79,8 +79,6 @@
   static int BUG = 5;
 
   private static String LINE_SEPARATOR = System.getProperty("line.separator");
-  static int MAX_LINE_WIDTH = 80;
-
 
   private String[] args;
 
@@ -126,7 +124,7 @@
               {
                 System.out.print(
                     org.opends.server.util.StaticUtils.wrapText(ev.getNewLogs(),
-                        MAX_LINE_WIDTH));
+                        Utils.getCommandLineMaxLineWidth()));
               }
             });
         uninstaller.start();
@@ -1092,13 +1090,13 @@
   private static String getMsg(String key)
   {
     return org.opends.server.util.StaticUtils.wrapText(getI18n().getMsg(key),
-        MAX_LINE_WIDTH);
+        Utils.getCommandLineMaxLineWidth());
   }
 
   private static String getMsg(String key, String[] args)
   {
     return org.opends.server.util.StaticUtils.wrapText(
-        getI18n().getMsg(key, args), MAX_LINE_WIDTH);
+        getI18n().getMsg(key, args), Utils.getCommandLineMaxLineWidth());
   }
 
   private static ResourceProvider getI18n()

--
Gitblit v1.10.0