Skip to content

Commit 755f5ab

Browse files
committed
Remove commented out code
1 parent 7ee96a1 commit 755f5ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/querydsl/query/MatchPhraseQueryTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ public void testQueryBuilding() {
6262

6363
private static MatchPhraseQueryBuilder getBuilder(Map<String, Object> options) {
6464
final Source source = new Source(1, 1, StringUtils.EMPTY);
65-
// FieldAttribute fa = new FieldAttribute(EMPTY, "a", new EsField("af", KEYWORD, emptyMap(), true));
6665
final MatchPhraseQuery mpq = new MatchPhraseQuery(source, "eggplant", "foo bar", options);
6766
return (MatchPhraseQueryBuilder) mpq.asBuilder();
6867
}
6968

7069
public void testToString() {
7170
final Source source = new Source(1, 1, StringUtils.EMPTY);
72-
// FieldAttribute fa = new FieldAttribute(EMPTY, "a", new EsField("af", KEYWORD, emptyMap(), true));
7371
final MatchPhraseQuery mpq = new MatchPhraseQuery(source, "eggplant", "foo bar");
7472
assertEquals("MatchPhraseQuery@1:2[eggplant:foo bar]", mpq.toString());
7573
}

0 commit comments

Comments
 (0)