From 4df4b439048aa629e87945af2e4dfac9747e0861 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 05 May 2014 15:56:21 +0000
Subject: [PATCH] OPENDJ-1303 "opendj-cli" - Removed && replaced StaticUtils.wrapText by com.forgerock.opendj.cli.Utils.wrapText;
---
opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
index de51ef5..ff042b0 100644
--- a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
+++ b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
@@ -30,7 +30,7 @@
import static org.opends.messages.AdminToolMessages.*;
import static org.opends.messages.ToolMessages.*;
import static org.opends.server.util.ServerConstants.MAX_LINE_WIDTH;
-import static org.opends.server.util.StaticUtils.wrapText;
+import static com.forgerock.opendj.cli.Utils.wrapText;
import java.io.File;
import java.io.PrintStream;
@@ -47,7 +47,6 @@
import org.opends.server.types.InitializationException;
import org.opends.server.util.BuildVersion;
import org.opends.server.util.DynamicConstants;
-import org.opends.server.util.StaticUtils;
import com.forgerock.opendj.cli.ArgumentException;
/**
@@ -134,14 +133,14 @@
}
if (logFileName != null)
{
- System.err.println(StaticUtils.wrapText(
+ System.err.println(wrapText(
ERR_CONTROL_PANEL_LAUNCHER_GUI_LAUNCH_FAILED_DETAILS.get(
logFileName),
Utils.getCommandLineMaxLineWidth()));
}
else
{
- System.err.println(StaticUtils.wrapText(
+ System.err.println(wrapText(
ERR_CONTROL_PANEL_LAUNCHER_GUI_LAUNCH_FAILED.get(),
Utils.getCommandLineMaxLineWidth()));
}
--
Gitblit v1.10.0