From d52b8df2d1f5509111fee0ba23b41e7a878d70ae Mon Sep 17 00:00:00 2001
From: ribeaudc <ribeaudc>
Date: Mon, 8 Sep 2008 15:00:10 +0000
Subject: [PATCH] change: - Use 'MODIFIED_SHORT_PREFIX_STYLE' instead of
 'SHORT_PREFIX_STYLE'.

SVN: 8233
---
 .../ch/systemsx/cisd/common/test/LogMonitoringAppender.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/source/java/ch/systemsx/cisd/common/test/LogMonitoringAppender.java b/common/source/java/ch/systemsx/cisd/common/test/LogMonitoringAppender.java
index 9c1e4d3c728..1f0997b6e5b 100644
--- a/common/source/java/ch/systemsx/cisd/common/test/LogMonitoringAppender.java
+++ b/common/source/java/ch/systemsx/cisd/common/test/LogMonitoringAppender.java
@@ -24,7 +24,6 @@ import java.util.regex.Pattern;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.commons.lang.builder.ToStringBuilder;
-import org.apache.commons.lang.builder.ToStringStyle;
 import org.apache.log4j.AppenderSkeleton;
 import org.apache.log4j.Logger;
 import org.apache.log4j.spi.LoggingEvent;
@@ -33,6 +32,7 @@ import org.apache.log4j.spi.ThrowableInformation;
 import ch.systemsx.cisd.common.collections.CollectionUtils;
 import ch.systemsx.cisd.common.collections.IToStringConverter;
 import ch.systemsx.cisd.common.logging.LogCategory;
+import ch.systemsx.cisd.common.utilities.ModifiedShortPrefixToStringStyle;
 
 /**
  * A class that allows to monitor the log for unit tests.
@@ -232,7 +232,8 @@ public final class LogMonitoringAppender extends AppenderSkeleton
         @Override
         public final String toString()
         {
-            return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
+            return ToStringBuilder.reflectionToString(this,
+                    ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE);
         }
     }
 }
-- 
GitLab