jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [5/8] jena git commit: Spell checking some Javadocs
Date Mon, 23 Oct 2017 13:23:17 GMT
http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/riot/writer/WriterStreamRDFBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/riot/writer/WriterStreamRDFBase.java b/jena-arq/src/main/java/org/apache/jena/riot/writer/WriterStreamRDFBase.java
index 680a960..acfcff7 100644
--- a/jena-arq/src/main/java/org/apache/jena/riot/writer/WriterStreamRDFBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/riot/writer/WriterStreamRDFBase.java
@@ -34,7 +34,7 @@ import org.apache.jena.riot.system.StreamRDF ;
 import org.apache.jena.sparql.core.Quad ;
 
 /** Core engine for output of triples / quads that is streaming.
- *  Handles prefixes and base, toegther with the environment for processing. 
+ *  Handles prefixes and base, together with the environment for processing. 
  *  If fed quads, the output is valid TriG. 
  *  If fed only triples, the output is valid Turtle.
  *  Not for N-Quads and N-triples. 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpAssign.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpAssign.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpAssign.java
index 8eafaca..f13a493 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpAssign.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpAssign.java
@@ -34,7 +34,7 @@ public class OpAssign extends OpExtendAssign {
     // Not possible if it's the reassignment of something already assigned.
 
     /** Create an OpAssign or add to an existing one.
-     * This coperation collapses what woudl otherwise be stacks
+     * This cooperation collapses what would otherwise be stacks
      * of OpExtend.
      */ 
     static public Op assign(Op op, Var var, Expr expr) {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpExtend.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpExtend.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpExtend.java
index 88c1cbe..2f26a34 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpExtend.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpExtend.java
@@ -30,7 +30,7 @@ import org.apache.jena.sparql.sse.Tags ;
 import org.apache.jena.sparql.util.NodeIsomorphismMap ;
 
 /**
- * This is the operation in stadard SPARQL 1.1 OpAssign is specifically in
+ * This is the operation in standard SPARQL 1.1 OpAssign is specifically in
  * support of LET.
  */
 public class OpExtend extends OpExtendAssign {
@@ -38,7 +38,7 @@ public class OpExtend extends OpExtendAssign {
     // Not possible if it's the reassignment of something already assigned.
 
     /** Create an OpExtend or add to an existing one.
-     * This coperation collapses what woudl otherwise be stacks
+     * This cooperation collapses what would otherwise be stacks
      * of OpExtend.
      */ 
     static public Op extend(Op op, Var var, Expr expr) {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpFilter.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpFilter.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpFilter.java
index 4b01b8a..4790e0b 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpFilter.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpFilter.java
@@ -64,7 +64,7 @@ public class OpFilter extends Op1
     
     /** Combine an ExprList with an Op so that the expressions filter the Op.
      * If the exprs are empty, return the Op.  
-     * If the op is already a OpFilter, merge the expressions into the filters existintg expressions.  
+     * If the op is already a OpFilter, merge the expressions into the filters existing expressions.  
      * Else create a new OpFilter with the expressions and subOp. 
      */ 
     public static Op filterBy(ExprList exprs, Op op) {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpLabel.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpLabel.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpLabel.java
index d2f4764..2a33559 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpLabel.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpLabel.java
@@ -29,7 +29,7 @@ import org.apache.jena.sparql.util.NodeIsomorphismMap ;
 
 /** Do-nothing class that means that tags/labels/comments can be left in the algebra tree.
  * If serialized, toString called on the object, reparsing yields a string.
- *  Can have zero one one sub ops. */
+ *  Can have zero one sub ops. */
 
 public class OpLabel extends Op1
 {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpN.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpN.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpN.java
index d161f37..567855c 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpN.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpN.java
@@ -34,7 +34,7 @@ public abstract class OpN extends OpBase
     protected OpN(List<Op> x)   { elements = x ; }
     
     /** Accumulate an op in the OpN.
-     *  This exists to help building OpN in teh first place.
+     *  This exists to help building OpN in the first place.
      *  Once built, an OpN, like any Op should be treated as immutable
      *  with no calls change the sub ops contents.
      *  No calls to .add.

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpProcedure.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpProcedure.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpProcedure.java
index 12a0465..bab14c5 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpProcedure.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpProcedure.java
@@ -31,7 +31,7 @@ import org.apache.jena.sparql.util.NodeIsomorphismMap ;
  *  Syntax (ARQ extension): CALL <iri>(?x, ?y+3)
  *  
  *  See also the similar algebra form for property functions.  The difference is in argument handling.
- *  A property function has a URI and two argment lists, one for subject, one for objects.
+ *  A property function has a URI and two argument lists, one for subject, one for objects.
  *  A procedure is a URI and a list of arguments. */
 public class OpProcedure extends Op1
 {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpQuadPattern.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpQuadPattern.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpQuadPattern.java
index ee9c157..f8b3311 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpQuadPattern.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/op/OpQuadPattern.java
@@ -32,7 +32,7 @@ import org.apache.jena.sparql.util.NodeIsomorphismMap ;
 /** The main Op used in converting SPARQL algebra to quad form.
  * OpQuadPattern reflects the fact that quads come in per-GRAPH units. 
  * {@link OpQuadBlock} is for a general containers of quads
- * without any contract on the quads sharing the same garph node.   
+ * without any contract on the quads sharing the same graph node.   
  */
 public class OpQuadPattern extends Op0
 {
@@ -78,7 +78,7 @@ public class OpQuadPattern extends Op0
     public BasicPattern getBasicPattern()   { return triples ; }
     public boolean isEmpty()                { return triples.size() == 0 ; }
     
-    /** Is this quad pattern referring to the default graph by quad transformation or explict naming? */ 
+    /** Is this quad pattern referring to the default graph by quad transformation or explicit naming? */ 
     public boolean isDefaultGraph()         { return Quad.isDefaultGraph(graphNode) ; }
 
     /** Is this quad pattern explicitly naming the union graph? */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/Optimize.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/Optimize.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/Optimize.java
index 8b6b6fe..dd3524e 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/Optimize.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/Optimize.java
@@ -89,7 +89,7 @@ public class Optimize
         return f.create(context) ;
     }
     
-    /** Globably set the factory for making optimizers */ 
+    /** Globally set the factory for making optimizers */ 
     public static void setFactory(RewriteFactory aFactory)
     { factory = aFactory ; }
 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/TransformPathFlatternStd.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/TransformPathFlatternStd.java b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/TransformPathFlatternStd.java
index ebfe351..07109ec 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/TransformPathFlatternStd.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/algebra/optimize/TransformPathFlatternStd.java
@@ -37,7 +37,7 @@ import org.apache.jena.sparql.core.VarAlloc ;
 import org.apache.jena.sparql.path.* ;
 
 /** The path transformation step exactly as per the SPARQL 1.1 spec.
- *  i.e. joins triples rather creatign BGPs. 
+ *  i.e. joins triples rather creating BGPs. 
  *  It does not produce very nice execution structures so ARQ uses
  *  a functional equivalent, but different, transformation.
  */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/BasicPattern.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/BasicPattern.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/BasicPattern.java
index 6196e75..04df9cb 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/BasicPattern.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/BasicPattern.java
@@ -53,7 +53,7 @@ public class BasicPattern implements Iterable<Triple> {
     }
 
     /**
-     * Wrap a list of triples up as a BasicPattern. Chnaging the list, changes the
+     * Wrap a list of triples up as a BasicPattern. Changing the list, changes the
      * BasicPattern
      */
     public static BasicPattern wrap(List<Triple> triples) {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraph.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraph.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraph.java
index 313af4d..9892d47 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraph.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraph.java
@@ -43,7 +43,7 @@ public interface DatasetGraph extends Transactional, Closeable
     public Graph getDefaultGraph() ;
 
     /** Get the graph named by graphNode : returns null on no graph 
-     * NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation.
+     * NB Whether a dataset contains a graph if there are no triples is not defined - see the specific implementation.
      * Some datasets are "open" - they have all graphs even if no triples,
      */
     public Graph getGraph(Node graphNode) ;
@@ -58,8 +58,8 @@ public interface DatasetGraph extends Transactional, Closeable
     /**
      * Does the DatasetGraph contain a specific named graph? 
      * Whether a dataset contains a graph if there are no triples is
-     * not defined - see the specifc implementation. Some datasets are "open" -
-     * they have all graphs even if no triples and thsi returns true always.
+     * not defined - see the specific implementation. Some datasets are "open" -
+     * they have all graphs even if no triples and this returns true always.
      * 
      * @param graphNode
      * @return boolean
@@ -151,10 +151,10 @@ public interface DatasetGraph extends Transactional, Closeable
     public void close() ;
 
     /**
-     * A {@code DatasetGraph} supports tranactions if it provides {@link #begin}/
+     * A {@code DatasetGraph} supports transactions if it provides {@link #begin}/
      * {@link #commit}/{@link #end}. There core storage {@code DatasetGraph} that
      * provide fully serialized transactions.  {@code DatasetGraph} that provide
-     * functionality acorss independent systems can not provide such strong guarantees.
+     * functionality across independent systems can not provide such strong guarantees.
      * For example, they may use MRSW locking and some isolation control.
      * Specifically, they do not necessarily provide {@link #abort}.
      * <p>

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphBase.java
index 73847fe..c553b77 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphBase.java
@@ -40,7 +40,7 @@ import org.apache.jena.sparql.util.Context ;
  * <li>{@link DatasetGraphInMemory} provides full transactions for an in-memory {@code DatasetGraph}.</li>
  * <li>{@link DatasetGraphTriplesQuads} that adds mutating quad operations.</li>
  * <li>{@link DatasetGraphMap} provides for operations working over a collection of in-memory graphs.</li>
- * <li>{@link DatasetGraphMapLink} provides for operations working over a collection of graphs provived by the application.</li>
+ * <li>{@link DatasetGraphMapLink} provides for operations working over a collection of graphs provided by the application.</li>
  * <li>{@link DatasetGraphCollection} that provides for operations working over a collection of graphs.</li>
  * </ul> 
  */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphFactory.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphFactory.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphFactory.java
index 68e680f..18060fc 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphFactory.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphFactory.java
@@ -94,7 +94,7 @@ public class DatasetGraphFactory
     public static DatasetGraph createMem() { return createGeneral() ; }
     
     /** Create a DatasetGraph based on an existing one;
-     *  this is a structure copy of the dataset struture
+     *  this is a structure copy of the dataset structure
      *  but graphs are shared
      *  @deprecated Use {@link #cloneStructure}
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/Prologue.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/Prologue.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/Prologue.java
index 2a656d4..09ed4a3 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/Prologue.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/Prologue.java
@@ -205,7 +205,7 @@ public class Prologue
         return prefixMap.shortForm(uri) ;
     }
     
-    /** Test whether a Prologue wil perform the same as this one. */
+    /** Test whether a Prologue will perform the same as this one. */
     public boolean samePrologue(Prologue other) {
         // Prologue are mutable and superclasses so .equals is left as the default.
         String base1 = explicitlySetBaseURI() ? getBaseURI() : null ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java
index e8fde57..dbe6c50 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/Quad.java
@@ -123,7 +123,7 @@ public class Quad implements Serializable
     }
 
 
-    /** Default, concrete graph via generated URI (not explciitly named) */
+    /** Default, concrete graph via generated URI (not explicitly, named) */
     public boolean isDefaultGraphExplicit()
     { return isDefaultGraphExplicit(getGraph()) ; }
     

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/Transactional.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/Transactional.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/Transactional.java
index 91809af..e31b05c 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/Transactional.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/Transactional.java
@@ -20,10 +20,10 @@ package org.apache.jena.sparql.core;
 
 import org.apache.jena.query.ReadWrite ;
 
-/** Interface that encapulsated begin/abort|commit/close.
- * <p>The read lifcycle is:
+/** Interface that encapsulated begin/abort|commit/close.
+ * <p>The read lifecycle is:
  * <pre>  begin(READ) ... end()</pre>
- * <p>The write lifcycle is:
+ * <p>The write lifecycle is:
  * <pre>  begin(WRITE) ... abort() or commit() [end()]</pre>
  * <p>{@code end()} is optional, but encouraged; it performs checks and can be called multiple times.
  * 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/TransactionalLock.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/TransactionalLock.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/TransactionalLock.java
index dde8478..5e84b16 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/TransactionalLock.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/TransactionalLock.java
@@ -27,7 +27,7 @@ import org.apache.jena.shared.LockMRSW ;
 import org.apache.jena.shared.LockMutex ;
 import org.apache.jena.sparql.JenaTransactionException ;
 
-/** An implementation of Tranactional that provides MRSW locking but no abort.
+/** An implementation of Transactional that provides MRSW locking but no abort.
  *  This is often the best you can do for a system that does not itself provide transactions.
  *  @apiNote
  *  To use with implementation inheritance, for when you don't inherit:

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/core/describe/DescribeHandler.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/core/describe/DescribeHandler.java b/jena-arq/src/main/java/org/apache/jena/sparql/core/describe/DescribeHandler.java
index cf1b729..0eb2d5c 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/core/describe/DescribeHandler.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/core/describe/DescribeHandler.java
@@ -45,7 +45,7 @@ public interface DescribeHandler
     
     public void describe(Resource resource) ;
 
-    /** Finish the description process for thsis query execution
+    /** Finish the description process for this query execution
      */
     public void finish() ;
 }

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/QueryEngineFactory.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/QueryEngineFactory.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/QueryEngineFactory.java
index 178d970..bc6d03f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/QueryEngineFactory.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/QueryEngineFactory.java
@@ -60,7 +60,7 @@ public interface QueryEngineFactory {
 	public boolean accept(Query query, DatasetGraph dataset, Context context);
 
 	/**
-	 *  Call to create a {@link Plan} : the companion {@link #accept} wil have returned {@code true}.
+	 *  Call to create a {@link Plan} : the companion {@link #accept} will have returned {@code true}.
 	 * @param query
 	 * @param dataset
 	 * @param inputBinding

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java
index 8f9aae6..a113af7 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java
@@ -31,7 +31,7 @@ import org.apache.jena.sparql.expr.ExprList ;
 import org.apache.jena.sparql.graph.NodeTransform;
 import org.apache.jena.sparql.graph.NodeTransformLib ;
 
-/** Support for renaming all the variables in an algebra expession
+/** Support for renaming all the variables in an algebra expression
  *  except for a fixed set to leave alone */
 public class Rename
 {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/ResultSetWrapper.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/ResultSetWrapper.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/ResultSetWrapper.java
index 11292bb..5a7d05f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/ResultSetWrapper.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/ResultSetWrapper.java
@@ -20,10 +20,10 @@ package org.apache.jena.sparql.engine;
 
 import org.apache.jena.query.ResultSet ;
 
-/** @derpecated Use {@link org.apache.jena.sparql.resultset.ResultSetWrapper} */
+/** @deprecated Use {@link org.apache.jena.sparql.resultset.ResultSetWrapper} */
 @Deprecated
 public class ResultSetWrapper extends org.apache.jena.sparql.resultset.ResultSetWrapper {
     public ResultSetWrapper(ResultSet rs) {
         super(rs);
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingHashMap.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingHashMap.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingHashMap.java
index d5cdfda..6c507c6 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingHashMap.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingHashMap.java
@@ -28,7 +28,7 @@ import org.apache.jena.sparql.ARQInternalErrorException ;
 import org.apache.jena.sparql.core.Var ;
 import org.apache.jena.sparql.util.FmtUtils ;
 
-/** A muatable mapping from a name to a value such that we can create a tree of levels
+/** A mutable mapping from a name to a value such that we can create a tree of levels
  *  with higher (earlier levels) being shared.
  *  Looking up a name is done by looking in the current level,
  *  then trying the parent is not found. */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingInputStream.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingInputStream.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingInputStream.java
index 6bbc4a3..7ab0bff 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingInputStream.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingInputStream.java
@@ -90,7 +90,7 @@ public class BindingInputStream extends LangEngine implements Iterator<Binding>,
     
     /** Create an RDF Tuples parser.
      *  No need to pass in a buffered InputStream; the code 
-     *  will do it's own buffering.
+     *  will do its own buffering.
      */
     
     private BindingInputStream(Tokenizer tokenizer, ParserProfile profile)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingUtils.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingUtils.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingUtils.java
index 12942ab..3bb7cd1 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingUtils.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/binding/BindingUtils.java
@@ -105,7 +105,7 @@ public class BindingUtils {
     }
     
     /** Touch every var/value in case that makes the binding do retrieval work.
-     *  Use the given vars - does no matter if a variable is no tpresent in the binding. */
+     *  Use the given vars - does no matter if a variable is not present in the binding. */
     public static void materialize(List<Var> vars, Binding binding) {
         vars.forEach(binding::get);
     }

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/Params.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/Params.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/Params.java
index dce789a..78ade96 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/Params.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/Params.java
@@ -107,7 +107,7 @@ public class Params
     
     public int count() { return paramList.size() ; }
     
-    /** Get the names of parameters - one ocurrence */ 
+    /** Get the names of parameters - one occurrence */ 
     public List<String> names()
     {
         return paramList.stream().map(Pair::getName).distinct().collect(toList()); 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterPlainWrapper.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterPlainWrapper.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterPlainWrapper.java
index cdfc731..30c8dcb 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterPlainWrapper.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterPlainWrapper.java
@@ -43,7 +43,7 @@ public class QueryIterPlainWrapper extends QueryIter
         iterator = iter ;
     }
 
-    /** Preferrable to use a constructor - but sometimes that is inconvenient 
+    /** Preferable to use a constructor - but sometimes that is inconvenient 
      *  so pass null in the constructor and then call this before the iterator is
      *  used.   
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterSlice.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterSlice.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterSlice.java
index d6aec13..b3a2c24 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterSlice.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/iterator/QueryIterSlice.java
@@ -37,7 +37,7 @@ public class QueryIterSlice extends QueryIter1
      * 
      * @param cIter            The closable iterator to throttle 
      * @param startPosition    Offset of start after - 0 is the no-op.
-     * @param numItems         Maximium number of items to yield.  
+     * @param numItems         Maximum number of items to yield.  
      */
     
     public QueryIterSlice(QueryIterator cIter, long startPosition, long numItems, ExecutionContext context)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/AbstractIterHashJoin.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/AbstractIterHashJoin.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/AbstractIterHashJoin.java
index 730d772..b40f180 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/AbstractIterHashJoin.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/AbstractIterHashJoin.java
@@ -213,7 +213,7 @@ public abstract class AbstractIterHashJoin extends QueryIter2 {
 
     /**
      * Signal the end of the hash join.
-     * Outer joins can now add any "no matche" results.
+     * Outer joins can now add any "no matched" results.
      * @return QueryIterator or null
      */
     protected abstract QueryIterator joinFinished() ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/Join.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/Join.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/Join.java
index 3044a86..f3c626f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/Join.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/join/Join.java
@@ -159,7 +159,7 @@ public class Join {
     /** Very simple, materializing version - useful for debugging.
      *  Builds output early. Materializes left, streams right.
      *  Does <b>not</b> scale. 
-     *  No cancelation, no stats.
+     *  No cancellation, no stats.
      * 
      * @see #nestedLoopJoin
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/QueryEngineMainQuad.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/QueryEngineMainQuad.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/QueryEngineMainQuad.java
index 95398bb..493dca7 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/QueryEngineMainQuad.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/QueryEngineMainQuad.java
@@ -28,7 +28,7 @@ import org.apache.jena.sparql.engine.QueryEngineRegistry ;
 import org.apache.jena.sparql.engine.binding.Binding ;
 import org.apache.jena.sparql.util.Context ;
 
-/** Same as QueryEngineMain except tranform to quads */
+/** Same as QueryEngineMain except transform to quads */
 public class QueryEngineMainQuad extends QueryEngineMain
 {
     public QueryEngineMainQuad(Op op, DatasetGraph dataset, Binding input, Context context)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageBuilder.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageBuilder.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageBuilder.java
index 1a1ec45..c733fc9 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageBuilder.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageBuilder.java
@@ -30,7 +30,7 @@ import org.apache.jena.sparql.util.Context ;
  * evaluation of a basic graph pattern (BGP).  Matching BGPs is an extension
  * point of SPARQL; different entailment regimes plug in at this point.
  * They are also an extension point in ARQ to connect to any datasource,
- * the most common case being connectinbg to a Jena graph.     
+ * the most common case being connecting to a Jena graph.     
  * 
  * The StageBuilder finds the registered StageGenerator, and calls it to
  * evaluate a basic graph pattern that has any bound variables

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGenerator.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGenerator.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGenerator.java
index 01294ee..ef15f73 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGenerator.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGenerator.java
@@ -23,11 +23,11 @@ import org.apache.jena.sparql.engine.ExecutionContext ;
 import org.apache.jena.sparql.engine.QueryIterator ;
 
 /** Interface for execution of a basic graph pattern.
- *  A StageGenerator is registred in the context of an query
+ *  A StageGenerator is registered in the context of an query
  *  execution to be found and called by the StageBuilder.
  *  
  *  The StageGenerator is called repeated for a basic graph pattern
- *  with each possible bindings unsed to instantiate variables
+ *  with each possible bindings unused to instantiate variables
  *  where possible.  
  *  
  *  Each call of a stage generator returns a QueryIterator

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/StatsMatcher.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/StatsMatcher.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/StatsMatcher.java
index b1baacb..06e0c68 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/StatsMatcher.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/StatsMatcher.java
@@ -306,7 +306,7 @@ public final class StatsMatcher
     }
     
     /** Return the matching weight for the first triple match found, 
-     * else apply default value for fixed, unknnown predciate,
+     * else apply default value for fixed, unknown predicate,
      * else return NOMATCH
      */
     public double match(Item subj, Item pred, Item obj)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderFixedAlt.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderFixedAlt.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderFixedAlt.java
index f1fcb7c..a2428dd 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderFixedAlt.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderFixedAlt.java
@@ -27,8 +27,8 @@ import org.apache.jena.sparql.sse.Item ;
 
 /**
  * Alternative fixed reorder function. This corresponds to the algorithm prior
- * to Jena 2.11.2. It is susceptable to picking bad orders when there are lots
- * of non-characterstic (non-selective) rdf:type triples.
+ * to Jena 2.11.2. It is susceptible to picking bad orders when there are lots
+ * of non-characteristic (non-selective) rdf:type triples.
  * <p>
  * The default "ReorderFixed" is better in most cases because it avoids
  * "? rdf:type T" which can be very unselective. Being data independent, that is

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderTransformationSubstitution.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderTransformationSubstitution.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderTransformationSubstitution.java
index 9dc6c65..decf1cd 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderTransformationSubstitution.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/optimizer/reorder/ReorderTransformationSubstitution.java
@@ -223,8 +223,8 @@ public abstract class ReorderTransformationSubstitution implements ReorderTransf
     /** What to do if the {@link weight} comes back as "not found".
      * Choices are:
      *    ZERO      Assume the weight is zero (the rules were complete over the data so this is a pattern that will not match the data. 
-     *    LAST      Place after all explciitly weighted triple patterns
-     *    FIRST     Place before all explciitly weighted triple patterns
+     *    LAST      Place after all explicitly weighted triple patterns
+     *    FIRST     Place before all explicitly weighted triple patterns
      *    NUMERIC   Use value returned by {@link defaultWeight}
      * The default, default choice is LAST.   
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/Expr.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/Expr.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/Expr.java
index cb02efe..2646d38 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/Expr.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/Expr.java
@@ -40,7 +40,7 @@ public interface Expr
     public static final int CMP_INDETERMINATE  = DatatypeConstants.INDETERMINATE ;
     
     /** Test whether a Constraint is satisfied, given a set of bindings
-     *  Includes error propagtion and Effective Boolean Value rules.
+     *  Includes error propagation and Effective Boolean Value rules.
      * 
      * @param binding   The bindings
      * @param execCxt   FunctionEnv   
@@ -95,7 +95,7 @@ public interface Expr
     /** NodeValue constant (returns null if not a constant) */
     public NodeValue getConstant() ;
     
-    /** Answer wether this is a function. */
+    /** Answer whether this is a function. */
     public boolean isFunction() ;
     /** Get the function (returns null if not a function) */
     public ExprFunction getFunction() ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprLib.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprLib.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprLib.java
index d582f91..6c67e1b 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprLib.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprLib.java
@@ -82,7 +82,7 @@ public class ExprLib
     }
     
     /** Attempt to fold any sub-expressions of the Expr.
-     * Return an expression that is euqivalent to the argument but maybe simpler.    
+     * Return an expression that is equivalent to the argument but maybe simpler.    
      * @param expr
      * @return Expression
      */
@@ -110,7 +110,7 @@ public class ExprLib
         { return eAgg.getAggVar()  ; }
     } ;
     
-    /** Decide whether an expression is safe for using a a graph substitution.
+    /** Decide whether an expression is safe for using a graph substitution.
      * Need to be careful about value-like tests when the graph is not 
      * matched in a value fashion.
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprList.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprList.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprList.java
index 6410b76..9e60e2c 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprList.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/ExprList.java
@@ -33,7 +33,7 @@ public class ExprList implements Iterable<Expr>
     /** Create a copy which does not share the list of expressions with the original */ 
     public static ExprList copy(ExprList other) { return new ExprList(other) ; }
     
-    /** Create an ExprList that contaisn the expressions */
+    /** Create an ExprList that contains the expressions */
     public static ExprList create(Collection<Expr> exprs) {
         ExprList exprList = new ExprList() ;
         exprs.forEach(exprList::add) ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/NodeValue.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/NodeValue.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/NodeValue.java
index fc6e606..ece4fe7 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/NodeValue.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/NodeValue.java
@@ -630,7 +630,7 @@ public abstract class NodeValue extends ExprNode
      *  
      * @param nv1
      * @param nv2
-     * @return negative, 0, or postive for less than, equal, greater than.  
+     * @return negative, 0, or positive for less than, equal, greater than.  
      */
 
     public static int compareAlways(NodeValue nv1, NodeValue nv2)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexEngine.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexEngine.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexEngine.java
index 5204f10..a890f50 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexEngine.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexEngine.java
@@ -18,7 +18,7 @@
 
 package org.apache.jena.sparql.expr;
 
-/** Interface to abstract away from specific regular expression systsms
+/** Interface to abstract away from specific regular expression systems
  *  (Apache Xerces and java.util.regex) */
 
 public interface RegexEngine

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorExpr.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorExpr.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorExpr.java
index 43a6844..35a9e81 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorExpr.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorExpr.java
@@ -84,7 +84,7 @@ public abstract class AccumulatorExpr implements Accumulator
     /** Called if no errors to get the accumulated result */
     protected abstract NodeValue getAccValue() ; 
 
-    /** Called when the expression beeing aggregated evaluates OK.
+    /** Called when the expression being aggregated evaluates OK.
      * Can throw ExprEvalException - in which case the accumulateError is called */
     protected abstract void accumulate(NodeValue nv, Binding binding, FunctionEnv functionEnv) ;
     

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorFactory.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorFactory.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorFactory.java
index a9b9438..36bbf28 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorFactory.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AccumulatorFactory.java
@@ -18,7 +18,7 @@
 
 package org.apache.jena.sparql.expr.aggregate;
 
-/** Fatory to create accumulators. An Accumulator is
+/** Factory to create accumulators. An Accumulator is
  * processor for one group key for one execution.
  */
 public interface AccumulatorFactory {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AggregatorBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AggregatorBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AggregatorBase.java
index d1cf07c..289039b 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AggregatorBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/AggregatorBase.java
@@ -94,8 +94,8 @@ public abstract class AggregatorBase implements Aggregator
         return copy(e) ;
     }
     
-    /** Many aggergate use a single expression.
-     *  This convebnience operation gets the expression if there is exactly one.
+    /** Many aggregate use a single expression.
+     *  This convenience operation gets the expression if there is exactly one.
      */
     protected Expr getExpr() {
         if ( exprList != null && exprList.size() == 1 )

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/Args.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/Args.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/Args.java
index 4a4d5db..dad10f0 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/Args.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/aggregate/Args.java
@@ -21,7 +21,7 @@ package org.apache.jena.sparql.expr.aggregate;
 import org.apache.jena.sparql.expr.ExprList ;
 
 /** An Args is an ExprList with a flag for DISTINCT.
- *  Only used for rule ArgList in the SPARQl grammar.
+ *  Only used for rule ArgList in the SPARQL grammar.
  */  
 public class Args extends ExprList {
     public boolean distinct = false ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeFunctions.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeFunctions.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeFunctions.java
index 8aff09c..33c82fb 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeFunctions.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeFunctions.java
@@ -66,7 +66,7 @@ public class NodeFunctions {
     }
 
     /**
-     * Check for string operations with primary first arg and second second arg
+     * Check for string operations with primary first arg and second arg
      * (e.g. CONTAINS).  The arguments are not used in the same way and the check
      * operation is not symmetric. 
      * <li> "abc"@en is compatible with "abc"

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java b/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java
index 370ee7f..81b1614 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java
@@ -40,7 +40,7 @@ import org.apache.jena.sparql.expr.NodeValue ;
 import org.apache.jena.sparql.expr.ValueSpaceClassification ;
 import org.apache.jena.sparql.util.NodeFactoryExtra ;
 
-/** The code parts of arithmetic opperations on Nodevlaues.
+/** The code parts of arithmetic operations on Nodevalues.
  */
 public class NodeValueOps
 {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/function/CastXSD.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/function/CastXSD.java b/jena-arq/src/main/java/org/apache/jena/sparql/function/CastXSD.java
index d5c8103..8919334 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/function/CastXSD.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/function/CastXSD.java
@@ -77,7 +77,7 @@ public class CastXSD extends FunctionBase1 implements FunctionFactory {
     }
     
     /** Cast a NodeValue to an XSD datatype.
-     * This includes "by value" so 1e0 (an xsd:double) casts to 1 (an xsd:intger) 
+     * This includes "by value" so 1e0 (an xsd:double) casts to 1 (an xsd:integer) 
      * @param nv
      * @param castType
      * @return NodeValue
@@ -313,4 +313,4 @@ public class CastXSD extends FunctionBase1 implements FunctionFactory {
             lex = lex.substring(0,  lex.length()-1) ;
         return lex ;
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
index 075d6b1..3a4eedd 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
@@ -222,7 +222,7 @@ public class ParserBase
         return s.substring(3, s.length() - 3) ;
     }
 
-    /** remove the first n charcacters from the string */
+    /** remove the first n characters from the string */
     public static String stripChars(String s, int n) {
         return s.substring(n, s.length()) ;
     }

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/modify/UpdateEngineRegistry.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/modify/UpdateEngineRegistry.java b/jena-arq/src/main/java/org/apache/jena/sparql/modify/UpdateEngineRegistry.java
index 0747898..9136447 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/modify/UpdateEngineRegistry.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/modify/UpdateEngineRegistry.java
@@ -57,7 +57,7 @@ public class UpdateEngineRegistry
     /** Locate a suitable factory for this dataset
      * 
      * @param graphStore    A GraphStore
-     * @return A UpdateProcessorFactroy or null if none accept the request
+     * @return A UpdateProcessorFactory or null if none accept the request
      */
     public UpdateEngineFactory find(DatasetGraph graphStore, Context context)
     {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/path/P_Multi.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/path/P_Multi.java b/jena-arq/src/main/java/org/apache/jena/sparql/path/P_Multi.java
index 4f1ec46..86e1687 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/path/P_Multi.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/path/P_Multi.java
@@ -20,7 +20,7 @@ package org.apache.jena.sparql.path;
 
 import org.apache.jena.sparql.util.NodeIsomorphismMap;
 
-/** A path element that, on evalution, switches to multi-cardinality semantics. */
+/** A path element that, on evaluation, switches to multi-cardinality semantics. */
 public class P_Multi extends P_Path1 {
     public P_Multi(Path p) {
         super(p);

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/ListBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/ListBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/ListBase.java
index 7d5b4be..6fe842f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/ListBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/ListBase.java
@@ -35,7 +35,7 @@ import org.apache.jena.sparql.pfunction.PropFuncArgType ;
 import org.apache.jena.sparql.pfunction.PropertyFunctionEval ;
 import org.apache.jena.sparql.util.graph.GraphList ;
 
-/** Base class for list realted operations */ 
+/** Base class for list related operations */ 
 public abstract class ListBase extends PropertyFunctionEval
 {
     private PropFuncArgType objFuncArgType ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/resultset/RDFInput.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/RDFInput.java b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/RDFInput.java
index 1832a06..4af7708 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/RDFInput.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/RDFInput.java
@@ -168,7 +168,7 @@ public class RDFInput extends ResultSetMem {
     }
 
     /**
-     * Turns an RDF model, with properties and classses from the result set
+     * Turns an RDF model, with properties and classes from the result set
      * vocabulary, into a SPARQL result set. The result set formed is a copy in
      * memory.
      * 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
index eb3c329..60d3390 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
@@ -32,7 +32,7 @@ import org.apache.jena.sparql.util.NodeUtils ;
 import org.apache.jena.sparql.util.NodeUtils.EqualityTest ;
 
 /** Comparison of ResultSets.
- *  Note that reading ResultSets is destructive so consiuder using {@link ResultSetRewindable}
+ *  Note that reading ResultSets is destructive so consider using {@link ResultSetRewindable}
  *  from {@link ResultSetFactory#makeRewindable} 
  */
 
@@ -78,7 +78,7 @@ public class ResultSetCompare
     // This code does not do compare/isomorphism combined with value testing.
     // It drops to graph isomorphism, which is term based.
     
-    /** Compare two result sets for equivalence.  Equivalance means:
+    /** Compare two result sets for equivalence.  Equivalence means:
      * A row rs1 has one matching row in rs2, and vice versa.
      * A row is only matched once.
      * Rows match if they have the same variables with the same values. 
@@ -113,7 +113,7 @@ public class ResultSetCompare
     }
 
 
-    /** compare two result sets for equivalence.  Equivalance means:
+    /** compare two result sets for equivalence.  Equivalence means:
      * A row rs1 has one matching row in rs2, and vice versa.
      * A row is only matched once.
      * Rows match if they have the same variables with the same values, 
@@ -142,7 +142,7 @@ public class ResultSetCompare
     }
 
     
-    /** Compare two result sets for equivalence.  Equivalance means:
+    /** Compare two result sets for equivalence.  Equivalence means:
      * Each row in rs1 matches the same index row in rs2.
      * Rows match if they have the same variables with the same values, 
      * bNodes must map to a consistent other bNodes.  
@@ -160,7 +160,7 @@ public class ResultSetCompare
         return equivalentByOrder(convert(rs1) , convert(rs2), new BNodeIso(NodeUtils.sameValue)) ;
     }
 
-    /** compare two result sets for equivalence.  Equivalance means:
+    /** compare two result sets for equivalence.  Equivalence means:
      * Each row in rs1 matchs the same index row in rs2.
      * Rows match if they have the same variables with the same values, 
      * bNodes must map to a consistent other bNodes.  

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/sse/builders/BuilderGraph.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/sse/builders/BuilderGraph.java b/jena-arq/src/main/java/org/apache/jena/sparql/sse/builders/BuilderGraph.java
index 4962359..53cf358 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/sse/builders/BuilderGraph.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/sse/builders/BuilderGraph.java
@@ -89,7 +89,7 @@ public class BuilderGraph
      *    (graph IRIa ...))
      *    (graph IRIb ...))
      *    )
-     * (graph ...) is an abbrevaition for a dataset with a default graph and no named graphs.
+     * (graph ...) is an abbreviation for a dataset with a default graph and no named graphs.
      */
 
     public static DatasetGraph buildDataset(Item item)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerForm.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerForm.java b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerForm.java
index 9e32ce5..af6f590 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerForm.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerForm.java
@@ -24,7 +24,7 @@ import java.util.Deque ;
 import org.apache.jena.sparql.sse.Item ;
 import org.apache.jena.sparql.sse.ItemList ;
 
-/** Resolve syntacic forms like (base ...) and (prefix...)
+/** Resolve syntactic forms like (base ...) and (prefix...)
  *  where the syntax modifies the enclosed sub term.
  *  
  *  

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerResolver.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerResolver.java b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerResolver.java
index ff6848b..5250a0e 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerResolver.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerResolver.java
@@ -29,7 +29,7 @@ import org.apache.jena.sparql.sse.Item ;
 import org.apache.jena.sparql.sse.ItemList ;
 import org.apache.jena.sparql.sse.builders.BuilderPrefixMapping ;
 
-/** Resolve syntacic forms like (base ...) and (prefix...)
+/** Resolve syntactic forms like (base ...) and (prefix...)
  *  where the syntax modifies the enclosed sub term.
  *  
  *  

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerWrapper.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerWrapper.java b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerWrapper.java
index a07398a..3e95d1a 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerWrapper.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/sse/lang/ParseHandlerWrapper.java
@@ -20,7 +20,7 @@ package org.apache.jena.sparql.sse.lang;
 
 import org.apache.jena.sparql.sse.Item ;
 
-/** Warpper parser handler with pass-through for all operations.
+/** Wrapper parser handler with pass-through for all operations.
  *  Calls both, first one first. */
 
 public class ParseHandlerWrapper implements ParseHandler

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/sse/writers/WriterBasePrefix.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/sse/writers/WriterBasePrefix.java b/jena-arq/src/main/java/org/apache/jena/sparql/sse/writers/WriterBasePrefix.java
index 891774b..09e32e1 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/sse/writers/WriterBasePrefix.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/sse/writers/WriterBasePrefix.java
@@ -36,7 +36,7 @@ public class WriterBasePrefix
     public static interface Fmt { void format() ; }
     //public static Fmt fmt = new Fmt(){ public void format() {}} ;
 
-    /** Output, write the thing with formater fmt */
+    /** Output, write the thing with formatter fmt */
     public static void output(IndentedWriter iWriter, Fmt fmt, Prologue prologue)
     {
         boolean printBase = false ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/syntax/RecursiveElementVisitor.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/RecursiveElementVisitor.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/RecursiveElementVisitor.java
index ceefa28..ebdccd8 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/RecursiveElementVisitor.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/RecursiveElementVisitor.java
@@ -22,7 +22,7 @@ package org.apache.jena.sparql.syntax;
 /** <p> Visitor pattern helper that walks the entire tree calling operations
  * are various points in the walking process.  It is a depth first traversal.</p>
  * 
- * <p> Every visit operation is bracketted by a start/end pair makeing the
+ * <p> Every visit operation is bracketted by a start/end pair making the
  * calling points:
  * <ul>
  * <li>start of element</li>

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformCopyBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformCopyBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformCopyBase.java
index ea48149..6c618d0 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformCopyBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformCopyBase.java
@@ -26,7 +26,7 @@ import org.apache.jena.sparql.core.Var ;
 import org.apache.jena.sparql.expr.Expr ;
 import org.apache.jena.sparql.syntax.* ;
 
-/** Create a copy if the Element(s) below has chanaged.
+/** Create a copy if the Element(s) below has changed.
  * This is a common base class for writing recursive {@link ElementTransform}
  * in conjunction with being applied by {@link ElementTransformer}.
  */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformSubst.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformSubst.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformSubst.java
index 8707f93..868b04c 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformSubst.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/ElementTransformSubst.java
@@ -30,7 +30,7 @@ import org.apache.jena.sparql.syntax.Element ;
 import org.apache.jena.sparql.syntax.ElementPathBlock ;
 import org.apache.jena.sparql.syntax.ElementTriplesBlock ;
 
-/** An {@link ElementTransform} which replaces occurences of a variable with a Node value. 
+/** An {@link ElementTransform} which replaces occurrences of a variable with a Node value. 
  * Because a {@link Var} is a subclass of {@link Node_Variable} which is a {@link Node},
  * this includes variable renaming.
  * <p>

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/QueryTransformOps.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/QueryTransformOps.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/QueryTransformOps.java
index a034904..8c7b712 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/QueryTransformOps.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/QueryTransformOps.java
@@ -64,7 +64,7 @@ public class QueryTransformOps {
     }
 
     /** Transform a query using {@link ElementTransform} and {@link ExprTransform}.
-     *  It is the responsibility of these transforms to transofmr to a legal SPARQL query.
+     *  It is the responsibility of these transforms to transform to a legal SPARQL query.
      */ 
     public static Query transform(Query query, ElementTransform transform, ExprTransform exprTransform) {
         Query q2 = QueryTransformOps.shallowCopy(query);

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java
index 20ae076..97f47b1 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java
@@ -169,7 +169,7 @@ public class Context {
         return x.toString() ;
     }
     
-    /** Get the value as a a long value. The context entry can be a string, Integer or Long. */
+    /** Get the value as a long value. The context entry can be a string, Integer or Long. */
     public int getInt(Symbol symbol, int defaultValue) {
         if (  isUndef(symbol) )
             return defaultValue ; 
@@ -183,7 +183,7 @@ public class Context {
         }
     }
 
-    /** Get the value as a a long value. The context entry can be a string, Integer or Long. */
+    /** Get the value as a long value. The context entry can be a string, Integer or Long. */
     public long getLong(Symbol symbol, long defaultValue) {
         if (  isUndef(symbol) )
             return defaultValue ; 
@@ -210,12 +210,12 @@ public class Context {
 
     // -- true/false
 
-    /** Set propety value to be true */
+    /** Set property value to be true */
     public void setTrue(Symbol property) {
         set(property, Boolean.TRUE) ;
     }
 
-    /** Set propety value to be false */
+    /** Set property value to be false */
     public void setFalse(Symbol property) {
         set(property, Boolean.FALSE) ;
     }

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/util/LabelToNodeMap.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/LabelToNodeMap.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/LabelToNodeMap.java
index ce85262..1856b3d 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/LabelToNodeMap.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/LabelToNodeMap.java
@@ -41,7 +41,7 @@ public class LabelToNodeMap
     boolean generateVars = false ;
     VarAlloc allocator = null ;
     
-    /** Create blank nodes, with the same blank node returned for thre same label.  
+    /** Create blank nodes, with the same blank node returned for the same label.  
      * 
      * @return LabelToNodeMap
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/util/NodeUtils.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/NodeUtils.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/NodeUtils.java
index d580905..978cda1 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/NodeUtils.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/NodeUtils.java
@@ -181,7 +181,7 @@ public class NodeUtils
     }
 
     /** Compare literals by kind - not by value.
-     *  Gives a determinitics, stable, arbitrary ordering between unrelated literals.
+     *  Gives a deterministic, stable, arbitrary ordering between unrelated literals.
      * 
      * Ordering:
      *  <ol> 
@@ -191,7 +191,7 @@ public class NodeUtils
      *       <li>  RDF 1.0 : simple literal < literal by lang < literal with type
      *       <li>  RDF 1.1 : xsd:string < rdf:langString < other dataypes.<br/>
      *             This is the closest to SPARQL 1.1: treat xsd:string as a simple literal</ul></li>
-     *  <li> Lang by sorting on language tag (first case insensistive then case sensitive)
+     *  <li> Lang by sorting on language tag (first case insensitive then case sensitive)
      *  <li> Datatypes by URI
      *  </ol>
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java
index d0ee56c..995dbbb 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java
@@ -338,7 +338,7 @@ public class QueryExecUtils {
 
     /**
      * Execute, expecting the result to be one row, one column. Return that one
-     * RDFNode or null Throw excpetion if more than one.
+     * RDFNode or null Throw exception if more than one.
      */
     public static RDFNode getOne(QueryExecution qExec, String varname) {
         try {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/sparql/util/graph/GraphUtils.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/graph/GraphUtils.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/graph/GraphUtils.java
index 31fdb8d..719fe21 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/graph/GraphUtils.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/graph/GraphUtils.java
@@ -50,7 +50,7 @@ public class GraphUtils {
         return triples2quads(Quad.defaultGraphIRI, iter) ;
     }
 
-    /** Convert an iterator of triples into quads for the specificed graph name. */
+    /** Convert an iterator of triples into quads for the specified graph name. */
     public static Iter<Quad> triples2quads(final Node graphNode, Iterator<Triple> iter) {
         return Iter.iter(iter).map(t -> new Quad(graphNode, t)) ;
     }

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-arq/src/main/java/org/apache/jena/system/TxnCounter.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/system/TxnCounter.java b/jena-arq/src/main/java/org/apache/jena/system/TxnCounter.java
index 4f5d554..6e93dcd 100644
--- a/jena-arq/src/main/java/org/apache/jena/system/TxnCounter.java
+++ b/jena-arq/src/main/java/org/apache/jena/system/TxnCounter.java
@@ -211,7 +211,7 @@ public class TxnCounter implements Transactional {
     // This is a potential memory leak.
     // Use "isInTransaction" to read and clear.
 
-    /** Is this a write transaction? Shoudl be called inside a transaction. */
+    /** Is this a write transaction? Should be called inside a transaction. */
     private boolean isWriteTxn() {
         ReadWrite rw = txnMode.get() ;
         if ( rw == null )

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/io/BlockUTF8.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/io/BlockUTF8.java b/jena-base/src/main/java/org/apache/jena/atlas/io/BlockUTF8.java
index cb71faf..dbe114e 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/io/BlockUTF8.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/io/BlockUTF8.java
@@ -138,7 +138,7 @@ public class BlockUTF8
             }
             else if ( (x & 0xF8) == 0xF0 ) 
             {
-                // Looking like 4 byte charcater.
+                // Looking like 4 byte character.
                 // 11110zzz => 4 bytes.
                 int ch = readMultiBytes(bb, x & 0x08, 4) ;
                 char chars[] = Character.toChars(ch) ;
@@ -251,7 +251,7 @@ public class BlockUTF8
         return x ;
     }
 
-    /** Put bytes to the output ByteBuffer for charcater ch.
+    /** Put bytes to the output ByteBuffer for character ch.
      * The first byte is in x1 and already has the needed bits set. 
      */
     private static void outputBytes(ByteBuffer bb, int x1, int byteLength, int ch)

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/io/CharStream.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/io/CharStream.java b/jena-base/src/main/java/org/apache/jena/atlas/io/CharStream.java
index f066843..6f21bd3 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/io/CharStream.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/io/CharStream.java
@@ -19,7 +19,7 @@
 package org.apache.jena.atlas.io;
 
 
-/** A simplifed reader interface without IOExceptions. 
+/** A simplified reader interface without IOExceptions. 
  * And it's an interface, not an abstract class 
  */
 public interface CharStream

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/io/IndentedWriter.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/io/IndentedWriter.java b/jena-base/src/main/java/org/apache/jena/atlas/io/IndentedWriter.java
index 5abc63a..c263edd 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/io/IndentedWriter.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/io/IndentedWriter.java
@@ -262,7 +262,7 @@ public class IndentedWriter extends AWriterBase implements AWriter, Closeable
     /** Get row/line (counts from 1) */
     public int getRow() { return row ; }
     /** Get the absolute column.
-     *  This is the location where the next charcter on the line will be printed.
+     *  This is the location where the next character on the line will be printed.
      *  The IndentedWriter may not yet have padded to this place.   
      */
     public int getCol() {
@@ -366,7 +366,7 @@ public class IndentedWriter extends AWriterBase implements AWriter, Closeable
     public int getNumberWidth() { return widthLineNumber ; }
     
     /** Set the width of the number field.
-     * There is also a singel space after the number not included in this setting.  
+     * There is also a single space after the number not included in this setting.  
      */
     public void setNumberWidth(int widthOfNumbers) { widthLineNumber = widthOfNumbers ; }
 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java b/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
index 0daf9f3..c72fbac 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
@@ -279,7 +279,7 @@ public class Iter<T> implements Iterator<T> {
     }
 
     /** Transform a list of elements to a new list of the function applied to each element.
-     * Using a stream is often better.  This operation preseves the order of the list.
+     * Using a stream is often better.  This operation preserves the order of the list.
      * @deprecated Use Java8 Streams
      */
     @Deprecated
@@ -332,7 +332,7 @@ public class Iter<T> implements Iterator<T> {
     }
 
     /** Return an iterator that will see each element of the underlying iterator only once.
-     * Note that this need working memory to remember the elements alreadey seen.
+     * Note that this need working memory to remember the elements already seen.
      */
     public static <T> Iterator<T> distinct(Iterator<T> iter) {
         return filter(iter, new FilterUnique<T>()) ;
@@ -381,7 +381,7 @@ public class Iter<T> implements Iterator<T> {
     /** Create an iterator such that elements from the front while
      *  a predicate test become true are dropped then return all remaining elements
      *  are iterated over.  
-     *  The first element where the predicte becomes true is the first element of the
+     *  The first element where the predicted becomes true is the first element of the
      *  returned iterator.    
      */
     public static <T> Iterator<T> dropWhile(Iterator<T> iter, Predicate<T> predicate) {
@@ -816,7 +816,7 @@ public class Iter<T> implements Iterator<T> {
     /** Create an {@code Iter} such that elements from the front while
      *  a predicate test become true are dropped then return all remaining elements
      *  are iterated over.  
-     *  The first element where the predicte becomes true is the first element of the
+     *  The first element where the predicted becomes true is the first element of the
      *  returned iterator.    
      */
     public Iter<T> dropWhile(Predicate<T> predicate) {
@@ -849,7 +849,7 @@ public class Iter<T> implements Iterator<T> {
     }
 
     /** Return an {:@code Iter} that will see each element of the underlying iterator only once.
-     * Note that this need working memory to remember the elements alreadey seen.
+     * Note that this need working memory to remember the elements already seen.
      */
     public Iter<T> distinct() {
         return iter((distinct(iterator))) ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithBuffer.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithBuffer.java b/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithBuffer.java
index 7af9ac8..8716066 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithBuffer.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithBuffer.java
@@ -86,11 +86,11 @@ public class IteratorWithBuffer<T> implements Iterator<T> {
     }
 
     /**
-     * Look at elements that will be returned by a subsequnet call of .next().
+     * Look at elements that will be returned by a subsequent call of .next().
      * The next element is index 0, then index 1 etc. This operation is valid
      * immediately after the constructor returns. Returns null for no such
-     * element (underlying iterator didn't yeild enough elements). Throws
-     * IndexOutOfBoundsException if an attempt i smade to go beyond the
+     * element (underlying iterator didn't yield enough elements). Throws
+     * IndexOutOfBoundsException if an attempt is made to go beyond the
      * buffering window.
      */
     public T peek(int idx) {

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithHistory.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithHistory.java b/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithHistory.java
index b5b800a..e423639 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithHistory.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/iterator/IteratorWithHistory.java
@@ -88,7 +88,7 @@ public class IteratorWithHistory<T> implements Iterator<T>
     }
 
     /**
-     * Return the current size of the histiory. This can be used to tell the
+     * Return the current size of the history. This can be used to tell the
      * difference between an iterator returning null and an iterator that is
      * just short.
      */

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/iterator/NullIterator.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/iterator/NullIterator.java b/jena-base/src/main/java/org/apache/jena/atlas/iterator/NullIterator.java
index ff2b2f1..d1b9fb6 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/iterator/NullIterator.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/iterator/NullIterator.java
@@ -21,7 +21,7 @@ package org.apache.jena.atlas.iterator;
 import java.util.Iterator ;
 import java.util.NoSuchElementException ;
 
-/** Null Iterator - also guaranteed sharable and immutable */
+/** Null Iterator - also guaranteed shareable and immutable */
 public class NullIterator<T> implements Iterator<T>, Iterable<T>
 {
     @Override

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsInt.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsInt.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsInt.java
index 1e112a0..2e31132 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsInt.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsInt.java
@@ -80,7 +80,7 @@ public final class BitsInt
         return Integer.parseInt(s, 16) ;
     }
 
-    /** Set the bits specificied.
+    /** Set the bits specified.
      * 
      * @param bits      Pattern
      * @param bitIndex 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsLong.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsLong.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsLong.java
index d555fb7..7e9fa8c 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsLong.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/BitsLong.java
@@ -83,7 +83,7 @@ public final class BitsLong
         return Long.parseLong(s, 16) ;
     }
 
-    /** Set the bits specificied.
+    /** Set the bits specified.
      * 
      * @param bits      Pattern
      * @param bitIndex 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/Cache.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/Cache.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/Cache.java
index 69d6544..af25173 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/Cache.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/Cache.java
@@ -43,7 +43,7 @@ public interface Cache<Key, Value>
     /** Remove from cache - return true if key referenced an entry */
     public void remove(Key key) ;
     
-    /** Iterate over all keys. Iteratering over the keys requires the caller be thread-safe. */ 
+    /** Iterate over all keys. Iterating over the keys requires the caller be thread-safe. */ 
     public Iterator<Key> keys() ;
     
     public boolean isEmpty() ;

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/ProgressMonitor.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/ProgressMonitor.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/ProgressMonitor.java
index 8a6d484..f142be2 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/ProgressMonitor.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/ProgressMonitor.java
@@ -58,7 +58,7 @@ public class ProgressMonitor {
     /**
      * @param label      
      *      Label added to output strings. 
-     *      Usually related to the kind of things bening monitored.
+     *      Usually related to the kind of things being monitored.
      *      e.g "tuples 
      * @param tickPoint
      *      Frequent of output messages 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/PropertyUtils.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/PropertyUtils.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/PropertyUtils.java
index e69da44..cc2d298 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/PropertyUtils.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/PropertyUtils.java
@@ -127,7 +127,7 @@ public class PropertyUtils {
         inconsistent(properties, key, x, expected) ;
     }
 
-    /** Check property has the vakue given - throw exception if not. */
+    /** Check property has the value given - throw exception if not. */
     public void checkMetadata(Properties properties, String key, String expected) {
         String value = properties.getProperty(key) ;
 

http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/Timer.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/Timer.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/Timer.java
index 304e086..d7727c9 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/Timer.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/Timer.java
@@ -38,7 +38,7 @@ public class Timer {
         inTimer = true ;
     }
 
-    /** Return time in millisecods */
+    /** Return time in milliseconds */
     public long endTimer() {
         if ( !inTimer )
             throw new AtlasException("Not in timer") ;


Mime
View raw message