Skip to content
Snippets Groups Projects
Commit 3a60fdf4 authored by felmer's avatar felmer
Browse files

replace implementation of toString() in way that is independent of commons-lang.jar

SVN: 442
parent 745383f0
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,17 @@ public final class BuildAndEnvironmentInfo
@Override
public String toString()
{
return StringUtilities.concatenateWithNewLine(getEnvironmentInfo());
StringBuilder builder = new StringBuilder();
List<String> environmentInfo = getEnvironmentInfo();
for (int i = 0, n = environmentInfo.size(); i < n; i++)
{
builder.append(environmentInfo.get(0));
if (i < n - 1)
{
builder.append(OSUtilities.LINE_SEPARATOR);
}
}
return builder.toString();
}
/**
......
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