From aa09acea1d63383816178c2d4cd9637a8cce9721 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 04 Dec 2009 10:20:42 +0000
Subject: [PATCH] Refactor some constants.

---
 opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java b/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
index 3c82be1..e913a3d 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
@@ -974,19 +974,8 @@
   /**
    * The separator used to link the lines of the resulting command-lines.
    */
-  private final static String LINE_SEPARATOR;
-  static
-  {
-    if (SetupUtils.isWindows())
-    {
-      LINE_SEPARATOR = "&nbsp;";
-    }
-    else
-    {
-      LINE_SEPARATOR =
-   "&nbsp;\\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
-    }
-  }
+  private final static String LINE_SEPARATOR =
+    CommandBuilder.HTML_LINE_SEPARATOR;
 
   /**
    * Returns the equivalent command line in HTML without font properties.

--
Gitblit v1.10.0