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

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 9d93b64fc6d2db784c99ca4970a751b3abd34be7
Author: Andy Seaborne <[email protected]>
AuthorDate: Mon Nov 17 08:27:43 2025 +0000

    Don't set volatile twice
---
 jena-tdb1/src/main/java/org/apache/jena/tdb1/sys/StoreConnection.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/jena-tdb1/src/main/java/org/apache/jena/tdb1/sys/StoreConnection.java 
b/jena-tdb1/src/main/java/org/apache/jena/tdb1/sys/StoreConnection.java
index 7bf6dbcb5d..01176aefe3 100644
--- a/jena-tdb1/src/main/java/org/apache/jena/tdb1/sys/StoreConnection.java
+++ b/jena-tdb1/src/main/java/org/apache/jena/tdb1/sys/StoreConnection.java
@@ -102,8 +102,8 @@ public class StoreConnection
      */
     public DatasetGraphTxn begin(TxnType mode, String label) {
         checkValid();
+        // This sets haveUsedInTransaction = true;
         checkTransactional();
-        haveUsedInTransaction = true;
         return transactionManager.begin(mode, label);
     }
 

Reply via email to