lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r577892 - /lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java
Date Thu, 20 Sep 2007 19:41:42 GMT
Author: mikemccand
Date: Thu Sep 20 12:41:42 2007
New Revision: 577892

URL: http://svn.apache.org/viewvc?rev=577892&view=rev
Log:
remove temporary print for GData unit test

Modified:
    lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java

Modified: lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java?rev=577892&r1=577891&r2=577892&view=diff
==============================================================================
--- lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java
(original)
+++ lucene/java/trunk/contrib/gdata-server/src/core/src/test/org/apache/lucene/gdata/utils/TestDateFormater.java
Thu Sep 20 12:41:42 2007
@@ -38,7 +38,6 @@
             java.util.regex.Pattern pattern =  java.util.regex.Pattern.compile("[A-Z][a-z]{1,2},
[0-9]{1,2} [A-Z][a-z]{2} [0-9]{4} [0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2} [A-Z]{2,4}");
             Date date = new Date();
             String formatedDate = DateFormater.formatDate(date,DateFormater.HTTP_HEADER_DATE_FORMAT);
-            System.out.println("DATE: " + formatedDate);
             assertTrue(formatedDate + " does not match expected pattern",
                        pattern.matcher(formatedDate).matches());
             DateFormater.parseDate("Sun, 25 Jun 2006 13:51:23 +0000",DateFormater.HTTP_HEADER_DATE_FORMAT,DateFormater.HTTP_HEADER_DATE_FORMAT_TIME_OFFSET);



Mime
View raw message