You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2019/07/17 09:11:00 UTC

[jena] branch master updated: Fix javadoc and typos

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 487dbb0  Fix javadoc and typos
487dbb0 is described below

commit 487dbb095c7e7fd2bd6c8d0b88dfb946be80072c
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Jul 17 10:10:52 2019 +0100

    Fix javadoc and typos
---
 .../src/main/java/org/apache/jena/sparql/core/TxnDataset2Graph.java | 6 +++---
 jena-arq/src/main/java/org/apache/jena/system/TxnOp.java            | 3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/TxnDataset2Graph.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/TxnDataset2Graph.java
index e575b1b..37af46d 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/TxnDataset2Graph.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/TxnDataset2Graph.java
@@ -43,8 +43,8 @@ import org.apache.jena.sparql.JenaTransactionException;
  * graph is an InfGraph and should work when the graphs in the dataset is not changing or
  * when a new memory graph is added mid-transaction.
  * <p>
- * This is not "nested transactions" - theer is no overall "commit" or "abort". If
- * failure/restart occurs, some graphs may have commited and others not. It is the best
+ * This is not "nested transactions" - there is no overall "commit" or "abort". If
+ * failure/restart occurs, some graphs may have committed and others not. It is the best
  * that can be done given for an arbitrary collection of graphs, backed by different
  * storage and having different capabilities.
  * <p>
@@ -57,7 +57,7 @@ import org.apache.jena.sparql.JenaTransactionException;
 public class TxnDataset2Graph extends TransactionalLock {
     private Graph primary;
     // Object key may be a graph or a DSG is the graph is a GraphView.
-    // This avoids starting a tranasction on the same storage unit twice. 
+    // This avoids starting a transaction on the same storage unit twice. 
     private Map<Object, TransactionHandler> handlers = new HashMap<>();
         
     private Object lock = new Object();
diff --git a/jena-arq/src/main/java/org/apache/jena/system/TxnOp.java b/jena-arq/src/main/java/org/apache/jena/system/TxnOp.java
index e5b064b..234d8cb 100644
--- a/jena-arq/src/main/java/org/apache/jena/system/TxnOp.java
+++ b/jena-arq/src/main/java/org/apache/jena/system/TxnOp.java
@@ -33,7 +33,6 @@ public class TxnOp {
      * So
      *   Inner is READ works with any outer.
      *   Outer is WRITE works with any inner.
-     *    
      */
 
     /**
@@ -61,7 +60,7 @@ public class TxnOp {
      * 
      * A TxnType is compatible with (can run inside) another TxnType (for an an existing or outer transaction) if:
      * the outer one covers the needs of the inner one <br/>
-     * READ < PROMOTE (either) < WRITE < no outer
+     * READ &lt; PROMOTE (either) &lt; WRITE &lt; no outer
      * 
      * In particular:
      *   Inner is READ works with any outer.