[TEST] set back the visibility of our search ext plugin in FetchSubPhasePluginIT to private

This plugin is not used in other tests anymore, it should be private to make sure its usage doesn't spread again
This commit is contained in:
javanna 2016-09-15 20:28:12 +02:00 committed by Luca Cavanna
parent 4c726311e2
commit 20badcdbab
1 changed files with 6 additions and 6 deletions

View File

@ -118,7 +118,7 @@ public class FetchSubPhasePluginIT extends ESIntegTestCase {
}
}
public static final class TermVectorsFetchSubPhase implements FetchSubPhase {
private static final class TermVectorsFetchSubPhase implements FetchSubPhase {
private static final String NAME = "term_vectors_fetch";
@Override
@ -153,7 +153,7 @@ public class FetchSubPhasePluginIT extends ESIntegTestCase {
}
}
public static final class TermVectorsFetchParser implements SearchExtParser<TermVectorsFetchBuilder> {
private static final class TermVectorsFetchParser implements SearchExtParser<TermVectorsFetchBuilder> {
private static final TermVectorsFetchParser INSTANCE = new TermVectorsFetchParser();
@ -176,18 +176,18 @@ public class FetchSubPhasePluginIT extends ESIntegTestCase {
}
}
public static final class TermVectorsFetchBuilder extends SearchExtBuilder {
private static final class TermVectorsFetchBuilder extends SearchExtBuilder {
private final String field;
public TermVectorsFetchBuilder(String field) {
private TermVectorsFetchBuilder(String field) {
this.field = field;
}
public TermVectorsFetchBuilder(StreamInput in) throws IOException {
private TermVectorsFetchBuilder(StreamInput in) throws IOException {
this.field = in.readString();
}
public String getField() {
private String getField() {
return field;
}