Skip to content

Commit 779eace

Browse files
Checkstyle
1 parent 680868e commit 779eace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public boolean isRunning() {
272272

273273
@Override
274274
public void doRun() throws Exception {
275-
if (!mergeStartTimeNS.compareAndSet(0L, System.nanoTime())) {
275+
if (mergeStartTimeNS.compareAndSet(0L, System.nanoTime()) == false) {
276276
throw new IllegalStateException("Cannot run the same merge task multiple times");
277277
}
278278
try {

0 commit comments

Comments
 (0)