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:
Erick Erickson 2013-11-15 16:49:01 +00:00
parent 678b1fa018
commit 44e98a8df3
1 changed files with 0 additions and 4 deletions

View File

@ -80,8 +80,6 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest {
// for now, we know how ranges will be distributed to shards.
// may have to look it up in clusterstate if that assumption changes.
Random r = new Random();
for (int i=0;i < NUM_DOCS;i++) {
int appId = r.nextInt(NUM_APPS) + 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.
del("*:*");
Random r = new Random();
for (int i=0;i < NUM_DOCS;i++) {
int appId = r.nextInt(NUM_APPS) + 1;
int userId = r.nextInt(NUM_USERS) + 1;