You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2014/05/04 11:02:19 UTC
svn commit: r1592326 -
/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
Author: britter
Date: Sun May 4 09:02:19 2014
New Revision: 1592326
URL: http://svn.apache.org/r1592326
Log:
Remove more debug output (which is never actually written out)
Modified:
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java?rev=1592326&r1=1592325&r2=1592326&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java Sun May 4 09:02:19 2014
@@ -388,7 +388,6 @@ public class FastDateParserTest {
private void testSdfAndFdp(final String format, final String date, final boolean shouldFail)
throws Exception {
- final boolean debug = false;
Date dfdp = null;
Date dsdf = null;
Throwable f = null;
@@ -406,9 +405,6 @@ public class FastDateParserTest {
if (!shouldFail) {
throw e;
}
- if (debug) {
- System.out.println("sdf:"+format+"/"+date+"=>"+e);
- }
}
try {
@@ -422,16 +418,10 @@ public class FastDateParserTest {
if (!shouldFail) {
throw e;
}
- if (debug) {
- System.out.println("fdf:"+format+"/"+date+"=>"+e);
- }
}
// SDF and FDF should produce equivalent results
assertTrue("Should both or neither throw Exceptions", (f==null)==(s==null));
assertEquals("Parsed dates should be equal", dsdf, dfdp);
- if (debug) {
- System.out.println(format + "," + date + " => " + dsdf);
- }
}
@Test