Skip to content
Snippets Groups Projects
Commit d52b8df2 authored by ribeaudc's avatar ribeaudc
Browse files

change: - Use 'MODIFIED_SHORT_PREFIX_STYLE' instead of 'SHORT_PREFIX_STYLE'.

SVN: 8233
parent 7d642803
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment