jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/3] jena git commit: Fix checkActive
Date Thu, 24 Sep 2015 14:09:40 GMT
Fix checkActive


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/95f56277
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/95f56277
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/95f56277

Branch: refs/heads/master
Commit: 95f56277a18d71282150d9ff035a5ed65f190c3d
Parents: 99ec092
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Sep 24 15:09:24 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Sep 24 15:09:24 2015 +0100

----------------------------------------------------------------------
 .../org/apache/jena/tdb/transaction/DatasetGraphTransaction.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/95f56277/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java
----------------------------------------------------------------------
diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java
b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java
index 866b398..4845dfe 100644
--- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java
+++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java
@@ -109,7 +109,7 @@ public class DatasetGraphTransaction extends DatasetGraphTrackActive implements
     @Override
     protected void checkActive() {
         checkNotClosed() ;
-        if ( sConn.haveUsedInTransaction() && !isInTransaction() )
+        if ( !isInTransaction() )
             throw new JenaTransactionException("Not in a transaction (" + getLocation() +
")") ;
     }
 


Mime
View raw message