Skip to content

Commit 7a2a35a

Browse files
committed
changing method access modifier
1 parent dee361c commit 7a2a35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/rest/action/document/RestIndexAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public RestChannelConsumer prepareRequest(RestRequest request, final NodeClient
6969
return RestIndexAction.this.prepareRequest(request, client);
7070
}
7171

72-
public void validateOpType(String opType) {
72+
void validateOpType(String opType) {
7373
if (null != opType && false == "create".equals(opType.toLowerCase(Locale.ROOT))) {
7474
throw new IllegalArgumentException("opType must be 'create', found: [" + opType + "]");
7575
}

0 commit comments

Comments
 (0)