Skip to content

Commit

Permalink
fix spotbugs warnings
Browse files Browse the repository at this point in the history
Signed-off-by: neo <1100909+neowu@users.noreply.github.com>
  • Loading branch information
neowu committed Aug 9, 2024
1 parent e1f6377 commit 94317db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void initialize() {
void cleanup() {
var request = new DeleteByQueryRequest();
request.query = new Query.Builder().matchAll(b -> b).build();
request.refresh = true;
request.refresh = Boolean.TRUE;
documentType.deleteByQuery(request);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ElasticSearchIntegrationTest extends IntegrationTest {
void cleanup() {
var request = new DeleteByQueryRequest();
request.query = new Query.Builder().matchAll(b -> b).build();
request.refresh = true;
request.refresh = Boolean.TRUE;
documentType.deleteByQuery(request);
}

Expand Down

0 comments on commit 94317db

Please sign in to comment.