This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 67233467 EMPIREDB-456 DBUtils: completeQuery should always be called.
67233467 is described below

commit 67233467442c23674fcaeab0b1eac9dcd478783a
Author: Rainer Döbele <doeb...@apache.org>
AuthorDate: Fri Aug 22 12:39:12 2025 +0200

    EMPIREDB-456
    DBUtils: completeQuery should always be called.
---
 empire-db/src/main/java/org/apache/empire/db/DBUtils.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java 
b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
index 950b6648..8a514855 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
@@ -915,8 +915,7 @@ public class DBUtils implements DBContextAware
         {   // close reader
             r.close();
             // complete
-            if (list!=null)
-                factory.completeQuery(list);
+            factory.completeQuery(list);
         }
     }
 

Reply via email to