Skip to content

Commit b5ca8de

Browse files
author
Rahul Karajgikar
committed
change protected to private
Signed-off-by: Rahul Karajgikar <[email protected]>
1 parent c42004f commit b5ca8de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/opensearch/cluster/coordination/Coordinator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public Coordinator(
320320
this.remoteClusterStateService = remoteClusterStateService;
321321
}
322322

323-
protected void setPublishTimeout(TimeValue publishTimeout) {
323+
private void setPublishTimeout(TimeValue publishTimeout) {
324324
this.publishTimeout = publishTimeout;
325325
}
326326

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ public int getNumberOfStoreShardBatches() {
909909
return batchIdToStoreShardBatch.size();
910910
}
911911

912-
protected void setMaxBatchSize(long maxBatchSize) {
912+
private void setMaxBatchSize(long maxBatchSize) {
913913
this.maxBatchSize = maxBatchSize;
914914
}
915915

0 commit comments

Comments
 (0)