Skip to content

Commit 528e727

Browse files
committed
Fix method reference in comment in SchedulerEngine
This commit fixes the name of a method reference in a comment in SchedulerEngine.
1 parent e991208 commit 528e727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ public void run() {
194194
/*
195195
* Allowing the throwable to escape here will lead to be it being caught in FutureTask#run and set as the outcome of this
196196
* task; however, we never inspect the the outcomes of these scheduled tasks and so allowing the throwable to escape
197-
* unhandled here could lead to us losing fatal errors. Instead, we rely on ExceptionsHelper#maybeThrowErrorOnAnotherThread
198-
* to appropriately dispatch any error to the uncaught exception handler. We should never see an exception here as these do
197+
* unhandled here could lead to us losing fatal errors. Instead, we rely on ExceptionsHelper#maybeDieOnAnotherThread to
198+
* appropriately dispatch any error to the uncaught exception handler. We should never see an exception here as these do
199199
* not escape from SchedulerEngine#notifyListeners.
200200
*/
201201
ExceptionsHelper.maybeDieOnAnotherThread(t);

0 commit comments

Comments
 (0)