Skip to content

Commit 3ad0404

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent f34f352 commit 3ad0404

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

server/src/main/java/org/elasticsearch/index/mapper/MappedFieldType.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,12 @@ public Query regexpQuery(
380380
);
381381
}
382382

383-
public Query automatonQuery(Automaton automaton,
384-
@Nullable MultiTermQuery.RewriteMethod method,
385-
SearchExecutionContext context, String description){
383+
public Query automatonQuery(
384+
Automaton automaton,
385+
@Nullable MultiTermQuery.RewriteMethod method,
386+
SearchExecutionContext context,
387+
String description
388+
) {
386389
throw new QueryShardException(
387390
context,
388391
"Can only use automaton queries on keyword fields - not on [" + name + "] which is of type [" + typeName() + "]"

server/src/main/java/org/elasticsearch/index/query/AutomatonQueryBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
package org.elasticsearch.index.query;
1111

1212
import org.apache.lucene.index.Term;
13-
import org.apache.lucene.search.AutomatonQuery;
1413
import org.apache.lucene.search.Query;
1514
import org.apache.lucene.util.automaton.Automaton;
1615
import org.elasticsearch.TransportVersion;

0 commit comments

Comments
 (0)