Skip to content

Commit a4e2121

Browse files
committed
chore: removed unnecessary attribute
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent ab1e19b commit a4e2121

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

jnosql-elasticsearch/src/main/java/org/eclipse/jnosql/databases/elasticsearch/communication/QueryConverterResult.java

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,20 @@
1717

1818
import co.elastic.clients.elasticsearch._types.query_dsl.Query;
1919

20-
import java.util.List;
21-
2220
class QueryConverterResult {
2321

2422
private final Query.Builder statement;
2523

26-
private final List<String> ids;
27-
28-
QueryConverterResult(Query.Builder statement, List<String> ids) {
24+
QueryConverterResult(Query.Builder statement) {
2925
this.statement = statement;
30-
this.ids = ids;
3126
}
3227

3328
Query.Builder getStatement() {
3429
return statement;
3530
}
3631

37-
List<String> getIds() {
38-
return ids;
39-
}
40-
41-
public boolean hasId() {
42-
return !ids.isEmpty();
43-
}
44-
4532
public boolean hasStatement() {
46-
return statement != null || ids.isEmpty();
33+
return statement != null;
4734
}
4835

4936
public boolean hasQuery() {

0 commit comments

Comments
 (0)