Skip to content

Commit 23ad8c6

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent e50af6f commit 23ad8c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/test/java/org/elasticsearch/common/util/concurrent/TaskExecutionTimeTrackingPerIndexEsThreadPoolExecutorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import static org.elasticsearch.common.util.concurrent.EsExecutors.TaskTrackingConfig.DEFAULT_EWMA_ALPHA;
1818
import static org.hamcrest.Matchers.equalTo;
1919

20-
public class TaskExecutionTimeTrackingPerIndexEsThreadPoolExecutorTests extends ESTestCase {
20+
public class TaskExecutionTimeTrackingPerIndexEsThreadPoolExecutorTests extends ESTestCase {
2121

2222
String INDEX_NAME = "index";
2323

@@ -48,7 +48,7 @@ public void testExecutionPerIndexStatistics() throws Exception {
4848
assertTrue(executor.getSearchLoadPerIndex(INDEX_NAME) > 0);
4949
});
5050

51-
shutdownExecutor(executor);
51+
shutdownExecutor(executor);
5252
}
5353

5454
/** Execute a blank task {@code times} times for the executor */
@@ -64,7 +64,7 @@ private void shutdownExecutor(EsThreadPoolExecutor executor) {
6464
executor.shutdown();
6565
try {
6666
if (executor.awaitTermination(5, TimeUnit.SECONDS) == false) executor.shutdownNow();
67-
} catch(InterruptedException e) {
67+
} catch (InterruptedException e) {
6868
executor.shutdownNow();
6969
}
7070
}

0 commit comments

Comments
 (0)