Author: ctubbsii
Date: Fri Jun 21 15:53:34 2013
New Revision: 1495484
URL: http://svn.apache.org/r1495484
Log:
ACCUMULO-1529 fix newline problems in FormatterCommandTest when running out of
Eclipse
Modified:
accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java
Modified:
accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java
URL:
http://svn.apache.org/viewvc/accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java?rev=1495484&r1=1495483&r2=1495484&view=diff
==============================================================================
---
accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java
(original)
+++
accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java
Fri Jun 21 15:53:34 2013
@@ -30,7 +30,6 @@ import org.apache.accumulo.core.data.Key
import org.apache.accumulo.core.data.Value;
import org.apache.accumulo.core.util.format.Formatter;
import org.apache.accumulo.core.util.shell.Shell;
-import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.junit.Assert;
@@ -69,7 +68,7 @@ public class FormatterCommandTest {
shell.getReader().flush();
- final String[] output = StringUtils.split(new String(out.toByteArray()),
'\n');
+ final String[] output = new String(out.toByteArray()).split("\n\r");
boolean formatterOn = false;