You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2015/03/17 12:21:59 UTC
[47/52] [abbrv] jena git commit: JENA-903
JENA-903
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/300f9b79
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/300f9b79
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/300f9b79
Branch: refs/heads/JENA-507
Commit: 300f9b79e67a47a22bdd069364136c08d95c5f9a
Parents: 022539e
Author: Andy Seaborne <an...@apache.org>
Authored: Mon Mar 16 21:39:37 2015 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Mon Mar 16 21:39:37 2015 +0000
----------------------------------------------------------------------
.../java/org/apache/jena/query/text/TextDocProducerTriples.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/300f9b79/jena-text/src/main/java/org/apache/jena/query/text/TextDocProducerTriples.java
----------------------------------------------------------------------
diff --git a/jena-text/src/main/java/org/apache/jena/query/text/TextDocProducerTriples.java b/jena-text/src/main/java/org/apache/jena/query/text/TextDocProducerTriples.java
index 9fff673..b295148 100644
--- a/jena-text/src/main/java/org/apache/jena/query/text/TextDocProducerTriples.java
+++ b/jena-text/src/main/java/org/apache/jena/query/text/TextDocProducerTriples.java
@@ -29,7 +29,7 @@ public class TextDocProducerTriples implements TextDocProducer {
private final EntityDefinition defn ;
private final TextIndex indexer ;
- // Also have to have a ThreadLocal here to keep track of whether or not we are in a transaction,
+ // Have to have a ThreadLocal here to keep track of whether or not we are in a transaction,
// therefore whether or not we have to do autocommit
private final ThreadLocal<Boolean> inTransaction = new ThreadLocal<Boolean>() {
@Override
@@ -41,7 +41,6 @@ public class TextDocProducerTriples implements TextDocProducer {
public TextDocProducerTriples(TextIndex indexer) {
this.defn = indexer.getDocDef() ;
this.indexer = indexer ;
- inTransaction.set(false) ;
}
@Override