Remove subrequests method from CompositeIndicesRequest

Original commit: elastic/x-pack-elasticsearch@c644204598
This commit is contained in:
javanna 2016-11-29 23:21:37 +01:00 committed by Luca Cavanna
parent 981648774f
commit 69218af73f
1 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@ import org.elasticsearch.ElasticsearchSecurityException;
import org.elasticsearch.Version;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.CompositeIndicesRequest;
import org.elasticsearch.action.IndicesRequest;
import org.elasticsearch.action.MockIndicesRequest;
import org.elasticsearch.action.admin.cluster.health.ClusterHealthAction;
import org.elasticsearch.action.admin.cluster.health.ClusterHealthRequest;
@ -831,10 +830,6 @@ public class AuthorizationServiceTests extends ESTestCase {
}
private static class MockCompositeIndicesRequest extends TransportRequest implements CompositeIndicesRequest {
@Override
public List<? extends IndicesRequest> subRequests() {
return Collections.singletonList(new MockIndicesRequest(IndicesOptions.strictExpandOpen(), "index"));
}
}
public void testDoesNotUseRolesStoreForXPackUser() {