From 7548e406d8c7b1ec684f9955f38ef3f23ac95d81 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 27 Sep 2007 13:26:13 +0000
Subject: [PATCH] Removing the bullet prefix for task log messages since they don't render properly on all platforms and they are less usefull now that log messages are prepended with the date stamp.

---
 opends/src/server/org/opends/server/tools/tasks/TaskEntry.java |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/tasks/TaskEntry.java b/opends/src/server/org/opends/server/tools/tasks/TaskEntry.java
index 63ccff6..06cc68e 100644
--- a/opends/src/server/org/opends/server/tools/tasks/TaskEntry.java
+++ b/opends/src/server/org/opends/server/tools/tasks/TaskEntry.java
@@ -258,7 +258,7 @@
   public List<Message> getLogMessages() {
     List<Message> formattedLogs = new ArrayList<Message>();
     for (String aLog : logs) {
-      formattedLogs.add(Message.raw(formatLogMessage(aLog)));
+      formattedLogs.add(Message.raw(aLog));
     }
     return Collections.unmodifiableList(formattedLogs);
   }
@@ -421,22 +421,6 @@
   }
 
   /**
-   * Formats a log message for appending to the table.
-   * @param msg to format
-   * @return formatted message
-   */
-  private String formatLogMessage(String msg) {
-    // Use this to prepend to log messages.  Since they
-    // are long and usually wrap, without this it is
-    // difficult to tell where one stops and another starts
-    StringBuffer sb = new StringBuffer();
-    sb.append("\u2022");
-    sb.append(" ");
-    sb.append(msg);
-    return sb.toString();
-  }
-
-  /**
    * Formats a time string into a human friendly format.
    * @param timeString the is human hostile
    * @return string of time that is human friendly

--
Gitblit v1.10.0