Skip to content

Commit 65788cb

Browse files
authored
Make Engine.awaitPendingClose protected (elastic#130004)
So that the method can be used by classes implementing the Engine abstract class.
1 parent 9e06a22 commit 65788cb

File tree

1 file changed

+1
-1
lines changed
  • server/src/main/java/org/elasticsearch/index/engine

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/engine/Engine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ public void close() throws IOException {
21992199
awaitPendingClose();
22002200
}
22012201

2202-
private void awaitPendingClose() {
2202+
protected final void awaitPendingClose() {
22032203
try {
22042204
closedLatch.await();
22052205
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)