Skip to content

Commit 95c51aa

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 0da5e10 commit 95c51aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/test/java/org/elasticsearch/search/query/QueryPhaseTimeoutTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void tearDown() throws Exception {
116116
}
117117

118118
private static ContextIndexSearcher newContextSearcher(IndexReader reader) throws IOException {
119-
//note that no executor is provided, as this test requires sequential execution
119+
// note that no executor is provided, as this test requires sequential execution
120120
return new ContextIndexSearcher(
121121
reader,
122122
IndexSearcher.getDefaultSimilarity(),
@@ -188,7 +188,7 @@ public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float bo
188188

189189
@Override
190190
public ScorerSupplier scorerSupplier(LeafReaderContext context) throws IOException {
191-
//trigger the timeout as soon as the scorer supplier is request for the second segment
191+
// trigger the timeout as soon as the scorer supplier is request for the second segment
192192
if (firstSegment == false && isTimeoutExpected) {
193193
shouldTimeout = true;
194194
}
@@ -268,7 +268,7 @@ public ScorerSupplier scorerSupplier(LeafReaderContext context) throws IOExcepti
268268
return new ScorerSupplier() {
269269
@Override
270270
public Scorer get(long leadCost) throws IOException {
271-
//trigger the timeout as soon as the scorer is requested for the second segment
271+
// trigger the timeout as soon as the scorer is requested for the second segment
272272
if (firstSegment == false && isTimeoutExpected) {
273273
shouldTimeout = true;
274274
}

0 commit comments

Comments
 (0)