mirror of https://github.com/apache/lucene.git
Fix forbidden API call flagged by 'ant precommit'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
678b1fa018
commit
44e98a8df3
|
@ -80,8 +80,6 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest {
|
||||||
// for now, we know how ranges will be distributed to shards.
|
// for now, we know how ranges will be distributed to shards.
|
||||||
// may have to look it up in clusterstate if that assumption changes.
|
// may have to look it up in clusterstate if that assumption changes.
|
||||||
|
|
||||||
Random r = new Random();
|
|
||||||
|
|
||||||
for (int i=0;i < NUM_DOCS;i++) {
|
for (int i=0;i < NUM_DOCS;i++) {
|
||||||
int appId = r.nextInt(NUM_APPS) + 1;
|
int appId = r.nextInt(NUM_APPS) + 1;
|
||||||
int userId = r.nextInt(NUM_USERS) + 1;
|
int userId = r.nextInt(NUM_USERS) + 1;
|
||||||
|
@ -113,8 +111,6 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest {
|
||||||
// may have to look it up in clusterstate if that assumption changes.
|
// may have to look it up in clusterstate if that assumption changes.
|
||||||
del("*:*");
|
del("*:*");
|
||||||
|
|
||||||
Random r = new Random();
|
|
||||||
|
|
||||||
for (int i=0;i < NUM_DOCS;i++) {
|
for (int i=0;i < NUM_DOCS;i++) {
|
||||||
int appId = r.nextInt(NUM_APPS) + 1;
|
int appId = r.nextInt(NUM_APPS) + 1;
|
||||||
int userId = r.nextInt(NUM_USERS) + 1;
|
int userId = r.nextInt(NUM_USERS) + 1;
|
||||||
|
|
Loading…
Reference in New Issue