Skip to content

Commit 34b7bf5

Browse files
committed
smaller
1 parent 2c297f1 commit 34b7bf5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/LocalCircuitBreaker.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ private boolean assertSingleThread() {
162162
*/
163163
public boolean assertBeginRunLoop() {
164164
activeThread = Thread.currentThread();
165-
if (breaker instanceof LocalCircuitBreaker local) {
166-
local.assertBeginRunLoop();
167-
}
168165
return true;
169166
}
170167

@@ -174,9 +171,6 @@ public boolean assertBeginRunLoop() {
174171
*/
175172
public boolean assertEndRunLoop() {
176173
activeThread = null;
177-
if (breaker instanceof LocalCircuitBreaker local) {
178-
local.assertEndRunLoop();
179-
}
180174
return true;
181175
}
182176
}

0 commit comments

Comments
 (0)