You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2014/03/29 05:18:56 UTC
svn commit: r1582952 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/core/ solr/core/src/test/org/apache/solr/CursorPagingTest.java
Author: shalin
Date: Sat Mar 29 04:18:55 2014
New Revision: 1582952
URL: http://svn.apache.org/r1582952
Log:
SOLR-5920: Fix forbidden-api-check failure
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/core/ (props changed)
lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/CursorPagingTest.java
Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/CursorPagingTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/CursorPagingTest.java?rev=1582952&r1=1582951&r2=1582952&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/CursorPagingTest.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/CursorPagingTest.java Sat Mar 29 04:18:55 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));
}