lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1582953 - in /lucene/dev/branches/lucene_solr_4_7: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/CursorPagingTest.java
Date Sat, 29 Mar 2014 04:19:38 GMT
Author: shalin
Date: Sat Mar 29 04:19:37 2014
New Revision: 1582953

URL: http://svn.apache.org/r1582953
Log:
SOLR-5920: Fix forbidden-api-check failure

Modified:
    lucene/dev/branches/lucene_solr_4_7/   (props changed)
    lucene/dev/branches/lucene_solr_4_7/solr/   (props changed)
    lucene/dev/branches/lucene_solr_4_7/solr/core/   (props changed)
    lucene/dev/branches/lucene_solr_4_7/solr/core/src/test/org/apache/solr/CursorPagingTest.java

Modified: lucene/dev/branches/lucene_solr_4_7/solr/core/src/test/org/apache/solr/CursorPagingTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_7/solr/core/src/test/org/apache/solr/CursorPagingTest.java?rev=1582953&r1=1582952&r2=1582953&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_7/solr/core/src/test/org/apache/solr/CursorPagingTest.java
(original)
+++ lucene/dev/branches/lucene_solr_4_7/solr/core/src/test/org/apache/solr/CursorPagingTest.java
Sat Mar 29 04:19:37 2014
@@ -45,6 +45,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Collection;
 import java.util.Collections;
+import java.util.Locale;
 import java.util.Map;
 import java.util.UUID;
 
@@ -968,7 +969,7 @@ public class CursorPagingTest extends So
   }
 
   private static String dateWithRandomSecondOn2010_10_31_at_10_31() {
-    return String.format("2010-10-31T10:31:%02d.000Z",
+    return String.format(Locale.ROOT, "2010-10-31T10:31:%02d.000Z",
                          _TestUtil.nextInt(random(), 0, 59));
   }
 



Mime
View raw message