http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/InfGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/InfGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/InfGraph.java index 218ee3a..fb199f7 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/InfGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/InfGraph.java @@ -69,11 +69,11 @@ public interface InfGraph extends Graph { /** * Perform any initial processing and caching. This call is optional. Most - * engines either have negligable set up work or will perform an implicit + * engines either have negligible set up work or will perform an implicit * "prepare" if necessary. The call is provided for those occasions where * substantial preparation work is possible (e.g. running a forward chaining * rule system) and where an application might wish greater control over when - * this prepration is done. + * this preparation is done. */ public void prepare(); @@ -127,14 +127,14 @@ public interface InfGraph extends Graph { public ExtendedIterator<Triple> find(Node subject, Node property, Node object, Graph param); /** - * Switch on/off drivation logging + * Switch on/off derivation logging */ public void setDerivationLogging(boolean logOn); /** * Return the derivation of the given triple (which is the result of * some previous find operation). - * Not all reasoneers will support derivations. + * Not all reasoners will support derivations. * @return an iterator over Derivation records or null if there is no derivation information * available for this triple. */
http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BackwardRuleInfGraphI.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BackwardRuleInfGraphI.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BackwardRuleInfGraphI.java index 1be8227..c71cb48 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BackwardRuleInfGraphI.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BackwardRuleInfGraphI.java @@ -46,7 +46,7 @@ public interface BackwardRuleInfGraphI extends SilentAddI, InfGraph { public ExtendedIterator<Triple> findDataMatches(TriplePattern pattern); /** - * Logger a dervivation record against the given triple. + * Logger a derivation record against the given triple. */ public void logDerivation(Triple t, Derivation derivation); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleReasoner.java index aa70903..a60dee9 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleReasoner.java @@ -168,7 +168,7 @@ public class BasicForwardRuleReasoner implements Reasoner { } /** - * Switch on/off drivation logging. + * Switch on/off derivation logging. * If set to true then the InfGraph created from the bind operation will start * life with recording of derivations switched on. This is currently only of relevance * to rule-based reasoners. @@ -192,8 +192,8 @@ public class BasicForwardRuleReasoner implements Reasoner { * Set a configuration paramter for the reasoner. The supported parameters * are: * <ul> - * <li>BasicForwaredRuleReasoner.PROPderivationLogging - set to true to enable recording all rule derivations</li> - * <li>BasicForwaredRuleReasoner.PROPtraceOn - set to true to enable verbose trace information to be sent to the logger INFO channel</li> + * <li>BasicForwardedRuleReasoner.PROPderivationLogging - set to true to enable recording all rule derivations</li> + * <li>BasicForwardedRuleReasoner.PROPtraceOn - set to true to enable verbose trace information to be sent to the logger INFO channel</li> * </ul> * * @param parameter the property identifying the parameter to be changed @@ -213,7 +213,7 @@ public class BasicForwardRuleReasoner implements Reasoner { /** - * Return the Jena Graph Capabilties that the inference graphs generated + * Return the Jena Graph Capabilities that the inference graphs generated * by this reasoner are expected to conform to. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BindingEnvironment.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BindingEnvironment.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BindingEnvironment.java index a88bd20..51c8c8c 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BindingEnvironment.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BindingEnvironment.java @@ -32,13 +32,13 @@ public interface BindingEnvironment { /** * Return the most ground version of the node. If the node is not a variable - * just return it, if it is a varible bound in this environment return the binding, + * just return it, if it is a variable bound in this environment return the binding, * if it is an unbound variable return the variable. */ public Node getGroundVersion(Node node); /** - * Bind a variable in the current envionment to the given value. + * Bind a variable in the current environment to the given value. * Checks that the new binding is compatible with any current binding. * @param var a Node_RuleVariable defining the variable to bind * @param value the value to bind @@ -48,7 +48,7 @@ public interface BindingEnvironment { /** * Instantiate a triple pattern against the current environment. - * This version handles unbound varibles by turning them into bNodes. + * This version handles unbound variables by turning them into bNodes. * @param pattern the triple pattern to match * @return a new, instantiated triple */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BuiltinException.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BuiltinException.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BuiltinException.java index 318600d..a439af4 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BuiltinException.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BuiltinException.java @@ -21,7 +21,7 @@ package org.apache.jena.reasoner.rulesys; import org.apache.jena.shared.JenaException ; /** - * Exceptions thrown by runtime errors in exceuting rule system + * Exceptions thrown by runtime errors in executing rule system * builtin operations. */ public class BuiltinException extends JenaException { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java index 18b27d3..b188169 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java @@ -148,7 +148,7 @@ public class FBRuleInfGraph extends BasicForwardRuleInfGraph implements Backwar /** * Instantiate the forward rule engine to use. - * Subclasses can override this to switch to, say, a RETE imlementation. + * Subclasses can override this to switch to, say, a RETE implementation. * @param rules the rule set or null if there are not rules bound in yet. */ @Override @@ -236,7 +236,7 @@ public class FBRuleInfGraph extends BasicForwardRuleInfGraph implements Backwar } /** - * Adds a new Backward rule as a rusult of a forward rule process. Only some + * Adds a new Backward rule as a result of a forward rule process. Only some * infgraphs support this. */ @Override @@ -371,7 +371,7 @@ public class FBRuleInfGraph extends BasicForwardRuleInfGraph implements Backwar * "prepare" if necessary. The call is provided for those occasions where * substantial preparation work is possible (e.g. running a forward chaining * rule system) and where an application might wish greater control over when - * this prepration is done. + * this preparation is done. */ @Override public synchronized void prepare() { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleReasoner.java index 51ac06f..cbc9eee 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleReasoner.java @@ -299,7 +299,7 @@ public class FBRuleReasoner implements RuleReasoner { } /** - * Switch on/off drivation logging. + * Switch on/off derivation logging. * If set to true then the InfGraph created from the bind operation will start * life with recording of derivations switched on. This is currently only of relevance * to rule-based reasoners. @@ -406,7 +406,7 @@ public class FBRuleReasoner implements RuleReasoner { } /** - * Return the Jena Graph Capabilties that the inference graphs generated + * Return the Jena Graph Capabilities that the inference graphs generated * by this reasoner are expected to conform to. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/ForwardRuleInfGraphI.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/ForwardRuleInfGraphI.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/ForwardRuleInfGraphI.java index ab45468..1808a1c 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/ForwardRuleInfGraphI.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/ForwardRuleInfGraphI.java @@ -77,7 +77,7 @@ public interface ForwardRuleInfGraphI extends InfGraph, SilentAddI { public boolean shouldLogDerivations(); /** - * Logger a dervivation record against the given triple. + * Logger a derivation record against the given triple. */ public void logDerivation(Triple t, Derivation derivation); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Functor.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Functor.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Functor.java index ee0ea90..1491e44 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Functor.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Functor.java @@ -31,7 +31,7 @@ import java.util.function.Predicate; * A functor comprises a functor name and a list of * arguments. The arguments are Nodes of any type except functor nodes * (there is no functor nesting). Functors play three roles in rules - - * in heads they represent actions (procedural attachement); in bodies they + * in heads they represent actions (procedural attachment); in bodies they * represent builtin predicates; in TriplePatterns they represent embedded * structured literals that are used to cache matched subgraphs such as * restriction specifications. @@ -122,7 +122,7 @@ public class Functor implements ClauseEntry { } /** - * Return the functor aguments as an array of nodes + * Return the functor arguments as an array of nodes */ public Node[] getArgs() { return args; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasoner.java index 14db6f2..a19a393 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasoner.java @@ -160,7 +160,7 @@ public class GenericRuleReasoner extends FBRuleReasoner { /** * Set to true to enable translation of selected parts of an OWL schema - * to additional rules. At present only intersction statements are handled this way. + * to additional rules. At present only intersection statements are handled this way. * The translation is only applicable in HYBRID mode. */ public void setOWLTranslation(boolean enableOWLTranslation) { @@ -198,7 +198,7 @@ public class GenericRuleReasoner extends FBRuleReasoner { * Add a new preprocessing hook defining an operation that * should be run when the inference graph is being prepared. This can be * used to generate additional data-dependent rules or translations. - * This is only guaranted to be implemented for the HYBRID mode. + * This is only guaranteed to be implemented for the HYBRID mode. */ public void addPreprocessingHook(RulePreprocessHook hook) { if (preprocessorHooks == null) { @@ -273,7 +273,7 @@ public class GenericRuleReasoner extends FBRuleReasoner { /** * Internal version of setParameter that does not directly raise an - * exception on parameters it does not reconize. + * exception on parameters it does not recognize. * @return false if the parameter was not recognized */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasonerFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasonerFactory.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasonerFactory.java index db8ed39..4f0aa0b 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasonerFactory.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/GenericRuleReasonerFactory.java @@ -24,7 +24,7 @@ import org.apache.jena.vocabulary.ReasonerVocabulary ; /** * Factory object for creating general rule reasoner instances. The - * specific rule set and mode confriguration can be set either be method + * specific rule set and mode configuration can be set either be method * calls to the created reasoner or though parameters in the configuration Model. */ public class GenericRuleReasonerFactory implements ReasonerFactory { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java index 376d209..2367e0a 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java @@ -93,7 +93,7 @@ public class LPBackwardRuleInfGraph extends BaseInfGraph implements BackwardRule * "prepare" if necessary. The call is provided for those occasions where * substantial preparation work is possible (e.g. running a forward chaining * rule system) and where an application might wish greater control over when - * this prepration is done. + * this preparation is done. */ @Override public synchronized void prepare() { @@ -276,7 +276,7 @@ public class LPBackwardRuleInfGraph extends BaseInfGraph implements BackwardRule // Interface between infGraph and the goal processing machinery /** - * Log a dervivation record against the given triple. + * Log a derivation record against the given triple. */ @Override public void logDerivation(Triple t, Derivation derivation) { @@ -329,7 +329,7 @@ public class LPBackwardRuleInfGraph extends BaseInfGraph implements BackwardRule /** * Find any axioms (rules with no body) in the rule set and - * add those to the auxilliary graph to be included in searches. + * add those to the auxiliary graph to be included in searches. */ protected void extractAxioms() { Graph axioms = fdeductions.getGraph(); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleReasoner.java index bb04745..9506e2f 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleReasoner.java @@ -31,7 +31,7 @@ import org.apache.jena.vocabulary.ReasonerVocabulary ; * Reasoner implementation which augments or transforms an RDF graph * according to a set of rules. The rules are processed using a * tabled LP backchaining interpreter which is implemented by the - * relvant InfGraph class. + * relevant InfGraph class. */ public class LPBackwardRuleReasoner implements Reasoner { @@ -183,7 +183,7 @@ public class LPBackwardRuleReasoner implements Reasoner { } /** - * Switch on/off drivation logging. + * Switch on/off derivation logging. * If set to true then the InfGraph created from the bind operation will start * life with recording of derivations switched on. This is currently only of relevance * to rule-based reasoners. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/MapBuiltinRegistry.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/MapBuiltinRegistry.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/MapBuiltinRegistry.java index 46b7db8..ddaa4a9 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/MapBuiltinRegistry.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/MapBuiltinRegistry.java @@ -22,7 +22,7 @@ import java.util.HashMap; import java.util.Map; /** * A registry for mapping functor names on java objects (instances - * of subclasses of Builtin) which implement their behvaiour. + * of subclasses of Builtin) which implement their behaviour. * <p> * This is currently implemented as a singleton to simply any future * move to support different sets of builtins. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Node_RuleVariable.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Node_RuleVariable.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Node_RuleVariable.java index e702b1e..5b7d19e 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Node_RuleVariable.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Node_RuleVariable.java @@ -25,7 +25,7 @@ import org.apache.jena.graph.Node_Variable ; * A variation on the normal Node_Variable which support for value bindings. * Currently the forward rule system stores the values externally but requires * variables to have an offset index in the rule environment vector. The - * variables can also suport prolog-like reference chains and trails but these + * variables can also support prolog-like reference chains and trails but these * are not yet used. * <p> * Note that this should not be used in a real Triple, in particular http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasoner.java index 7b77231..b85d516 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasoner.java @@ -31,7 +31,7 @@ import org.apache.jena.reasoner.* ; * <li>RDFS entailments</li> * <li>basic OWL axioms like ObjectProperty subClassOf Property</li> * <li>intersectionOf, equivalentClass and forward implication of unionOf sufficient for traversal - * of explicit class hierachies<.li> + * of explicit class hierarchies<.li> * <li>Property axioms (inversOf, SymmetricProperty, TransitiveProperty, equivalentProperty)</li> * </ul> * There is some experimental support for the cheaper class restriction handlingly which http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasonerFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasonerFactory.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasonerFactory.java index 20c6cb4..36a3309 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasonerFactory.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/OWLMicroReasonerFactory.java @@ -32,7 +32,7 @@ import org.apache.jena.vocabulary.* ; * <li>RDFS entailments</li> * <li>basic OWL axioms like ObjectProperty subClassOf Property</li> * <li>intersectionOf, equivalentClass and forward implication of unionOf sufficient for traversal - * of explicit class hierachies<.li> + * of explicit class hierarchies<.li> * <li>Property axioms (inversOf, SymmetricProperty, TransitiveProperty, equivalentProperty)</li> * </ul> * There is some experimental support for the cheaper class restriction handlingly which http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasoner.java index 2460540..7189a01 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasoner.java @@ -52,7 +52,7 @@ public class RDFSFBRuleReasoner extends FBRuleReasoner { } /** - * Return the Jena Graph Capabilties that the inference graphs generated + * Return the Jena Graph Capabilities that the inference graphs generated * by this reasoner are expected to conform to. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasonerFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasonerFactory.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasonerFactory.java index 0c24b7a..84df673 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasonerFactory.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSFBRuleReasonerFactory.java @@ -46,7 +46,7 @@ public class RDFSFBRuleReasonerFactory implements ReasonerFactory { /** * Constructor method that builds an instance of the associated Reasoner * @param configuration a set of arbitrary configuration information to be - * passed the reasoner encoded within an RDF graph, the current implemenation + * passed the reasoner encoded within an RDF graph, the current implementation * is not configurable and will ignore this parameter. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSForwardRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSForwardRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSForwardRuleReasoner.java index b2817cc..fa91437 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSForwardRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSForwardRuleReasoner.java @@ -59,7 +59,7 @@ public class RDFSForwardRuleReasoner extends GenericRuleReasoner { } /** - * Return the Jena Graph Capabilties that the inference graphs generated + * Return the Jena Graph Capabilities that the inference graphs generated * by this reasoner are expected to conform to. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleInfGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleInfGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleInfGraph.java index 6d64712..172f830 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleInfGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleInfGraph.java @@ -25,7 +25,7 @@ import org.apache.jena.reasoner.* ; /** * Customization of the generic rule inference graph for RDFS inference. - * In fact all the rule processing is unchanged, the only extenstion is + * In fact all the rule processing is unchanged, the only extension is * the validation support. */ public class RDFSRuleInfGraph extends FBRuleInfGraph { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleReasoner.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleReasoner.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleReasoner.java index cb3b980..a4a0127 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleReasoner.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RDFSRuleReasoner.java @@ -27,7 +27,7 @@ import org.apache.jena.reasoner.rulesys.impl.RDFSCMPPreprocessHook ; import org.apache.jena.vocabulary.ReasonerVocabulary ; /** - * A full implemention of RDFS reasoning using a hybrid rule system, together + * A full implementation of RDFS reasoning using a hybrid rule system, together * with optimized subclass/subproperty closure using the transitive graph caches. * Implements the container membership property rules using an optional * data scanning hook. Implements datatype range validation. @@ -105,7 +105,7 @@ public class RDFSRuleReasoner extends GenericRuleReasoner { /** * Internal version of setParameter that does not directly raise an - * exception on parameters it does not reconize. + * exception on parameters it does not recognize. * @return false if the parameter was not recognized */ @Override @@ -207,7 +207,7 @@ public class RDFSRuleReasoner extends GenericRuleReasoner { } /** - * Return the Jena Graph Capabilties that the inference graphs generated + * Return the Jena Graph Capabilities that the inference graphs generated * by this reasoner are expected to conform to. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RETERuleInfGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RETERuleInfGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RETERuleInfGraph.java index 9c311ff..a4fce44 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RETERuleInfGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RETERuleInfGraph.java @@ -25,7 +25,7 @@ import org.apache.jena.reasoner.* ; import org.apache.jena.reasoner.rulesys.impl.* ; /** - * RETE implementation of the forward rule infernce graph. + * RETE implementation of the forward rule inference graph. */ public class RETERuleInfGraph extends BasicForwardRuleInfGraph { @@ -73,7 +73,7 @@ public class RETERuleInfGraph extends BasicForwardRuleInfGraph { /** * Instantiate the forward rule engine to use. - * Subclasses can override this to switch to, say, a RETE imlementation. + * Subclasses can override this to switch to, say, a RETE implementation. * @param rules the rule set or null if there are not rules bound in yet. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RuleDerivation.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RuleDerivation.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RuleDerivation.java index 91fbb3c..569b6dd 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RuleDerivation.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RuleDerivation.java @@ -90,7 +90,7 @@ public class RuleDerivation implements Derivation { * @param bindings set to true to print intermediate variable bindings for * each stage in the derivation * @param indent the number of indent spaces to use - * @param seen a HashSet of derviations that have already been listed + * @param seen a HashSet of derivations that have already been listed */ protected void printTrace(PrintWriter out, boolean bindings, int indent, HashSet<RuleDerivation> seen) { PrintUtil.printIndent(out, indent); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RulePreprocessHook.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RulePreprocessHook.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RulePreprocessHook.java index b770ef0..f990580 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RulePreprocessHook.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/RulePreprocessHook.java @@ -23,7 +23,7 @@ import org.apache.jena.graph.Triple ; import org.apache.jena.reasoner.Finder ; /** - * Implementors of this interface can be used as proprocessing passes + * Implementors of this interface can be used as preprocessing passes * during intialization of (hybrid) rule systems. They are typically * used to generate additional data-dependent rules or additional * deductions (normally from comprehension axioms) which are cheaper http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Util.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Util.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Util.java index 33fe7e3..95cfb9b 100755 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Util.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Util.java @@ -175,7 +175,7 @@ public class Util { } /** - * Internall implementation of all the getPropValue variants. + * Internal implementation of all the getPropValue variants. */ private static Node doGetPropValue(ClosableIterator<Triple> it) { Node result = null; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/BaseBuiltin.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/BaseBuiltin.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/BaseBuiltin.java index b85e8ba..a9b748a 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/BaseBuiltin.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/BaseBuiltin.java @@ -108,7 +108,7 @@ public abstract class BaseBuiltin implements Builtin { } /** - * Return the n'th argument node after dererencing by what ever type of + * Return the n'th argument node after dereferencing by what ever type of * rule engine binding environment is appropriate. */ public Node getArg(int n, Node[] args, RuleContext context) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/Difference.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/Difference.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/Difference.java index 0c42ac5..ec949f9 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/Difference.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/Difference.java @@ -22,8 +22,8 @@ import org.apache.jena.graph.* ; import org.apache.jena.reasoner.rulesys.* ; /** - * Bind the third argument to the arithetic difference between the - * first and second aguments. + * Bind the third argument to the arithmetic difference between the + * first and second arguments. */ public class Difference extends BaseBuiltin { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/NotDType.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/NotDType.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/NotDType.java index ef9e8fe..2c5e829 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/NotDType.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/NotDType.java @@ -22,7 +22,7 @@ import org.apache.jena.graph.* ; import org.apache.jena.reasoner.rulesys.* ; /** - * Tests wheter the first argument is not an instance of the datatype defined + * Tests whether the first argument is not an instance of the datatype defined * by the resource in the second argument. */ public class NotDType extends BaseBuiltin { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/StrConcat.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/StrConcat.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/StrConcat.java index f31f888..4e748c6 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/StrConcat.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/builtins/StrConcat.java @@ -26,7 +26,7 @@ import org.apache.jena.reasoner.rulesys.RuleContext ; /** * Builtin which concatenates a set of strings. It binds the last argument to * a plain literal which is the concatenation of all the preceeding arguments. - * For a literal argument we use its lexcical form, for a URI argument its URI, + * For a literal argument we use its lexical form, for a URI argument its URI, * for a bNode argument its internal ID. */ public class StrConcat extends BaseBuiltin { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BFRuleContext.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BFRuleContext.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BFRuleContext.java index 256b21d..1c45f6d 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BFRuleContext.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BFRuleContext.java @@ -132,7 +132,7 @@ public class BFRuleContext implements RuleContext { /** * Add a triple to a temporary "pending" store, ready to be added to added to the * deductions graph and the processing stack later. - * <p>This is needed to prevent concurrrent modification exceptions which searching + * <p>This is needed to prevent concurrent modification exceptions which searching * the deductions for matches to a given rule. */ @Override @@ -218,7 +218,7 @@ public class BFRuleContext implements RuleContext { } /** - * Reset the binding environemnt back to empty. + * Reset the binding environment back to empty. * @param newSize the number of variables needed for processing the new rule */ public void resetEnv(int newSize) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingStack.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingStack.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingStack.java index 03fae6a..1b7ec8a 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingStack.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingStack.java @@ -146,7 +146,7 @@ public class BindingStack implements BindingEnvironment { /** * Return the most ground version of the node. If the node is not a variable - * just return it, if it is a varible bound in this enviroment return the binding, + * just return it, if it is a variable bound in this environment return the binding, * if it is an unbound variable return the variable. */ @Override @@ -202,7 +202,7 @@ public class BindingStack implements BindingEnvironment { /** * Instantiate a triple pattern against the current environment. - * This version handles unbound varibles by turning them into bNodes. + * This version handles unbound variables by turning them into bNodes. * @param pattern the triple pattern to match * @return a new, instantiated triple */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingVector.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingVector.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingVector.java index eaca73e..0c5d7aa 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingVector.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/BindingVector.java @@ -63,7 +63,7 @@ public class BindingVector implements BindingEnvironment { /** * Return the current array of bindings. Useful for fast access to - * serveral bindings, not useful for doing updates. + * several bindings, not useful for doing updates. */ public Node[] getEnvironment() { return environment; @@ -107,7 +107,7 @@ public class BindingVector implements BindingEnvironment { /** * Return the most ground version of the node. If the node is not a variable - * just return it, if it is a varible bound in this enviroment return the binding, + * just return it, if it is a variable bound in this environment return the binding, * if it is an unbound variable return the variable. */ @Override @@ -121,7 +121,7 @@ public class BindingVector implements BindingEnvironment { } /** - * Bind the ith variable in the current envionment to the given value. + * Bind the ith variable in the current environment to the given value. * Checks that the new binding is compatible with any current binding. * Handles aliased variables. * @return false if the binding fails @@ -140,7 +140,7 @@ public class BindingVector implements BindingEnvironment { } /** - * Bind a variable in the current envionment to the given value. + * Bind a variable in the current environment to the given value. * Checks that the new binding is compatible with any current binding. * @param var a Node_RuleVariable defining the variable to bind * @param value the value to bind @@ -159,7 +159,7 @@ public class BindingVector implements BindingEnvironment { * Bind the variables in a goal pattern using the binding environment, to * generate a more specialized goal * @param goal the TriplePattern to be instantiated - * @return a TriplePattern obtained from the goal by substituting current bindinds + * @return a TriplePattern obtained from the goal by substituting current bindings */ public TriplePattern partInstantiate(TriplePattern goal) { return new TriplePattern( @@ -185,7 +185,7 @@ public class BindingVector implements BindingEnvironment { /** * Instantiate a triple pattern against the current environment. - * This version handles unbound varibles by turning them into bNodes. + * This version handles unbound variables by turning them into bNodes. * @param pattern the triple pattern to match * @return a new, instantiated triple */ @@ -223,7 +223,7 @@ public class BindingVector implements BindingEnvironment { /** * Unify a goal with the head of a rule. This is a poor-man's unification, - * we should try swtiching to a more conventional global-variables-with-trail + * we should try switching to a more conventional global-variables-with-trail * implementation in the future. * @param goal the goal pattern which it being matched to a rule * @param head the head pattern of the rule which is being instantiated http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngine.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngine.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngine.java index 71e4d4c..e3a0b44 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngine.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngine.java @@ -31,7 +31,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * The processing engine for forward production rules. It neeeds to reference + * The processing engine for forward production rules. It needs to reference * an enclosing ForwardInfGraphI which holds the raw data and deductions. */ public class FRuleEngine implements FRuleEngineI { @@ -200,7 +200,7 @@ public class FRuleEngine implements FRuleEngineI { } /** - * Set the internal rule from from a precomputed state. + * Set the internal rule from a precomputed state. */ @Override public void setRuleStore(Object ruleStore) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngineI.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngineI.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngineI.java index 1f548e1..50a8083 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngineI.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/FRuleEngineI.java @@ -84,7 +84,7 @@ public interface FRuleEngineI { public Object getRuleStore(); /** - * Set the internal rule from from a precomputed state. + * Set the internal rule from a precomputed state. */ public void setRuleStore(Object ruleStore); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBRuleEngine.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBRuleEngine.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBRuleEngine.java index 08e8f82..ed5341b 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBRuleEngine.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBRuleEngine.java @@ -223,12 +223,12 @@ public class LPBRuleEngine { return ruleStore; } - /** Return the parent infernce graph associated with this engine */ + /** Return the parent inference graph associated with this engine */ public BackwardRuleInfGraphI getInfGraph() { return infGraph; } - /** Detatch the given engine from the list of active engines for this inf graph */ + /** Detach the given engine from the list of active engines for this inf graph */ public synchronized void detach(LPInterpreter engine) { activeInterpreters.remove(engine); } http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBindingEnvironment.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBindingEnvironment.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBindingEnvironment.java index 825de29..2f88ed5 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBindingEnvironment.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPBindingEnvironment.java @@ -41,7 +41,7 @@ public class LPBindingEnvironment implements BindingEnvironment { /** * Return the most ground version of the node. If the node is not a variable - * just return it, if it is a varible bound in this environment return the binding, + * just return it, if it is a variable bound in this environment return the binding, * if it is an unbound variable return the variable. */ @Override @@ -50,7 +50,7 @@ public class LPBindingEnvironment implements BindingEnvironment { } /** - * Bind a variable in the current envionment to the given value. + * Bind a variable in the current environment to the given value. * Checks that the new binding is compatible with any current binding. * @param var a Node_RuleVariable defining the variable to bind * @param value the value to bind @@ -72,7 +72,7 @@ public class LPBindingEnvironment implements BindingEnvironment { /** * Instantiate a triple pattern against the current environment. - * This version handles unbound varibles by turning them into bNodes. + * This version handles unbound variables by turning them into bNodes. * @param pattern the triple pattern to match * @return a new, instantiated triple */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreter.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreter.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreter.java index fee6c97..909b829 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreter.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreter.java @@ -29,7 +29,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Bytecode interpeter engine for the LP version of the backward + * Bytecode interpreter engine for the LP version of the backward * chaining rule system. An instance of this is forked off for each * parallel query. */ @@ -144,7 +144,7 @@ public class LPInterpreter { } /** - * Called by top level interpeter to set to execution context for this interpeter to be + * Called by top level interpreter to set to execution context for this interpreter to be * top level instead of an internal generator. */ public void setTopInterpreter(LPInterpreterContext context) { @@ -186,9 +186,9 @@ public class LPInterpreter { public Object next() { boolean traceOn = engine.isTraceOn(); -// System.out.println("next() on interpeter for goal " + goal); +// System.out.println("next() on interpreter for goal " + goal); StateFlag answer = run(); -// System.out.println("end next() on interpeter for goal " + goal); +// System.out.println("end next() on interpreter for goal " + goal); if (answer == StateFlag.FAIL || answer == StateFlag.SUSPEND) { return answer; @@ -697,7 +697,7 @@ public class LPInterpreter { /** * Unify two nodes. Current implementation does not support functors. - * @return true if the unifcation succeeds + * @return true if the unification succeeds */ public boolean unify(Node n1, Node n2) { Node nv1 = n1; @@ -743,7 +743,7 @@ public class LPInterpreter { } /** - * Derefernce a node, following any binding trail. + * Dereference a node, following any binding trail. */ public static Node deref(Node node) { if (node instanceof Node_RuleVariable) { @@ -769,7 +769,7 @@ public class LPInterpreter { } /** - * Derefernce a node which may be a functor node + * Dereference a node which may be a functor node */ public static Node derefPossFunctor(Node node) { if (node instanceof Node_RuleVariable) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterContext.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterContext.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterContext.java index a786bee..4cd6a51 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterContext.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterContext.java @@ -25,7 +25,7 @@ package org.apache.jena.reasoner.rulesys.impl; */ public interface LPInterpreterContext extends LPInterpreterState { - /** Notify this context that a branch was suspended awaiting futher + /** Notify this context that a branch was suspended awaiting further * results for the given choice point. */ public void notifyBlockedOn(ConsumerChoicePointFrame ccp); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterState.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterState.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterState.java index 283ef7b..aa9ff28 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterState.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPInterpreterState.java @@ -22,7 +22,7 @@ package org.apache.jena.reasoner.rulesys.impl; * Marker interface for classes than can be used to initialize the * state of an LP interpreter - either an initial context (which * in turn is either a top level iterator or an generator being - * run for the first time), or a previaous saved context (i.e. a + * run for the first time), or a previous saved context (i.e. a * ConsumerChoicePointFrame). */ public interface LPInterpreterState { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPRuleStore.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPRuleStore.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPRuleStore.java index 3f4fac0..6fd109a 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPRuleStore.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPRuleStore.java @@ -137,7 +137,7 @@ public class LPRuleStore extends RuleStore { /** * Return true if the given goal is tabled, currently this is true if the * predicate is a tabled predicate or the predicate is a wildcard and some - * tabled predictes exist. + * tabled predicates exist. */ public boolean isTabled(TriplePattern goal) { return isTabled(goal.getPredicate()); @@ -146,7 +146,7 @@ public class LPRuleStore extends RuleStore { /** * Return true if the given predicated is tabled, currently this is true if the * predicate is a tabled predicate or the predicate is a wildcard and some - * tabled predictes exist. + * tabled predicates exist. */ public boolean isTabled(Node predicate) { if (allTabled) return true; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPTopGoalIterator.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPTopGoalIterator.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPTopGoalIterator.java index d4d471b..f816afc 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPTopGoalIterator.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/LPTopGoalIterator.java @@ -118,7 +118,7 @@ public class LPTopGoalIterator implements ClosableIterator<Triple>, LPInterprete } } - /** Notify this context that a brach was suspended awaiting futher + /** Notify this context that a branch was suspended awaiting further * results from the given generator. */ @Override public void notifyBlockedOn(ConsumerChoicePointFrame ccp) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/OWLRuleTranslationHook.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/OWLRuleTranslationHook.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/OWLRuleTranslationHook.java index 3c2b5be..c6afb5c 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/OWLRuleTranslationHook.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/OWLRuleTranslationHook.java @@ -26,8 +26,8 @@ import org.apache.jena.reasoner.rulesys.* ; import org.apache.jena.vocabulary.* ; /** - * A rule preprocessor that scans the data looking for interesection - * definitions and augements the rule base by translations of the + * A rule preprocessor that scans the data looking for intersection + * definitions and augments the rule base by translations of the * intersection statement. */ public class OWLRuleTranslationHook implements RulePreprocessHook { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEClauseFilter.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEClauseFilter.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEClauseFilter.java index 8031b45..9620e33 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEClauseFilter.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEClauseFilter.java @@ -27,7 +27,7 @@ import org.apache.jena.reasoner.rulesys.* ; /** * Checks a triple against the grounded matches and intra-triple matches * for a single rule clause. If the match passes it creates a binding - * environment token and passes it on the the RETE network itself. The checks + * environment token and passes it on the RETE network itself. The checks * and bindings are implemented using a simple byte-coded interpreter. */ public class RETEClauseFilter implements RETESourceNode { @@ -73,7 +73,7 @@ public class RETEClauseFilter implements RETESourceNode { public static final byte ADDRFunctorNode = 0x40; /** - * Contructor. + * Constructor. * @param instructions the set of byte-coded instructions and argument pointers. * @param args the object arguments referenced from the instructions array. */ @@ -231,7 +231,7 @@ public class RETEClauseFilter implements RETESourceNode { } /** - * Helperful function. Return the node from the argument triple + * Helpful function. Return the node from the argument triple * corresponding to the byte code address. */ private Node getTripleValue(Triple triple, byte address, Functor lastFunctor) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEEngine.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEEngine.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEEngine.java index b37ef2f..b657a62 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEEngine.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETEEngine.java @@ -30,7 +30,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * A RETE version of the the forward rule system engine. It neeeds to reference + * A RETE version of the forward rule system engine. It needs to reference * an enclosing ForwardInfGraphI which holds the raw data and deductions. */ public class RETEEngine implements FRuleEngineI { @@ -222,7 +222,7 @@ public class RETEEngine implements FRuleEngineI { } /** - * Set the internal rule from from a precomputed state. + * Set the internal rule from a precomputed state. */ @Override public void setRuleStore(Object ruleStore) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETETerminal.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETETerminal.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETETerminal.java index d70bfee..e587bb3 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETETerminal.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/RETETerminal.java @@ -39,7 +39,7 @@ public class RETETerminal implements RETESinkNode { * Constructor. * @param rule the rule which this terminal should fire. * @param engine the parent rule engine through which the deductions and recursive network can be reached. - * @param graph the wider encompasing infGraph needed to for the RuleContext + * @param graph the wider encompassing infGraph needed to for the RuleContext */ public RETETerminal(Rule rule, RETEEngine engine, ForwardRuleInfGraphI graph) { context = new RETERuleContext(graph, engine); @@ -50,7 +50,7 @@ public class RETETerminal implements RETESinkNode { * Constructor. Used internally for cloning. * @param rule the rule which this terminal should fire. * @param engine the parent rule engine through which the deductions and recursive network can be reached. - * @param graph the wider encompasing infGraph needed to for the RuleContext + * @param graph the wider encompassing infGraph needed to for the RuleContext */ protected RETETerminal(RETERuleContext context) { this.context = context; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/StateFlag.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/StateFlag.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/StateFlag.java index eddad1a..b4c1934 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/StateFlag.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/StateFlag.java @@ -20,7 +20,7 @@ package org.apache.jena.reasoner.rulesys.impl; /** * A set of constants used to record state information in the - * backchaining rule interepreter. + * backchaining rule interpreter. */ public class StateFlag { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/TempNodeCache.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/TempNodeCache.java b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/TempNodeCache.java index 684f7c0..13ad65a 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/TempNodeCache.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/impl/TempNodeCache.java @@ -46,7 +46,7 @@ public class TempNodeCache { protected Map<Node, Node> classMap = new HashMap<>(); /** - * Cosntructor. + * Constructor. * @param infgraph Parent inference graph, used to be needed for synchronization, don't think * we need it any more */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/transitiveReasoner/GraphNode.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/transitiveReasoner/GraphNode.java b/jena-core/src/main/java/org/apache/jena/reasoner/transitiveReasoner/GraphNode.java index 7907a02..15893fc 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/transitiveReasoner/GraphNode.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/transitiveReasoner/GraphNode.java @@ -248,7 +248,7 @@ class GraphNode { } /** - * Assert an inferred indirect link from this node to the given traget + * Assert an inferred indirect link from this node to the given target */ public void assertIndirectLinkTo(GraphNode target) { // if (this == target) return; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/shared/LockMRSW.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/shared/LockMRSW.java b/jena-core/src/main/java/org/apache/jena/shared/LockMRSW.java index 964ff0b..5aa9198 100644 --- a/jena-core/src/main/java/org/apache/jena/shared/LockMRSW.java +++ b/jena-core/src/main/java/org/apache/jena/shared/LockMRSW.java @@ -27,13 +27,13 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Lock implemenetation using a Multiple Reader, Single Writer policy. + * Lock implementation using a Multiple Reader, Single Writer policy. * All the locking work is done by the imported WriterPreferenceReadWriteLock. - * Ths class adds: + * This class adds: * <ul> * <li>The same thread that acquired a lock should release it</li> * <li>Lock promotion (turning read locks into write locks) is - * deteched as an error</li> + * detached as an error</li> * <ul> */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/shared/NamespaceEndsWithNameCharException.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/shared/NamespaceEndsWithNameCharException.java b/jena-core/src/main/java/org/apache/jena/shared/NamespaceEndsWithNameCharException.java index e76b29f..d893624 100644 --- a/jena-core/src/main/java/org/apache/jena/shared/NamespaceEndsWithNameCharException.java +++ b/jena-core/src/main/java/org/apache/jena/shared/NamespaceEndsWithNameCharException.java @@ -20,7 +20,7 @@ package org.apache.jena.shared; /** This exception is thrown when a putative namespace (for a PrefixMapping) - ends with a name character, which we disallow because its an invitation + ends with a name character, which we disallow because it is an invitation to errors. Typically a namespace URI will end with "/" or "#". */ public class NamespaceEndsWithNameCharException extends JenaException http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/shared/PrefixMapping.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/shared/PrefixMapping.java b/jena-core/src/main/java/org/apache/jena/shared/PrefixMapping.java index 404cd90..133db07 100644 --- a/jena-core/src/main/java/org/apache/jena/shared/PrefixMapping.java +++ b/jena-core/src/main/java/org/apache/jena/shared/PrefixMapping.java @@ -25,7 +25,7 @@ import org.apache.jena.shared.impl.* ; import org.apache.jena.vocabulary.* ; /** - Methods for recording namepsace prefix mappings and applying and + Methods for recording namespace prefix mappings and applying and unapplying them to URIs. <p> Note that a Model *is* a PrefixMapping, so all the PrefixMapping @@ -49,7 +49,7 @@ public interface PrefixMapping should end with a non-NCName character has been removed. <p> - Note, in particular, that the a prefix mapping can only be used + Note, in particular, that the prefix mapping can only be used if it includes the URI up to any '#' character because '#' is not legal in the local part of an NCName. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V1_Gen.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V1_Gen.java b/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V1_Gen.java index 03c526c..9e553d8 100644 --- a/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V1_Gen.java +++ b/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V1_Gen.java @@ -117,7 +117,7 @@ public class UUID_V1_Gen implements UUIDFactory reset() ; } - /** (Re)set the network id (a random number) and the timstamp */ + /** (Re)set the network id (a random number) and the timestamp */ @Override public void reset() { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V4_Gen.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V4_Gen.java b/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V4_Gen.java index 5e7d8dc..eb41aaa 100644 --- a/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V4_Gen.java +++ b/jena-core/src/main/java/org/apache/jena/shared/uuid/UUID_V4_Gen.java @@ -25,7 +25,7 @@ import org.apache.jena.atlas.lib.BitsLong ; import org.apache.jena.shared.uuid.JenaUUID.UUIDFormatException ; -/** Generator for for random number based UUIDs (version 2, variant 4) +/** Generator for random number based UUIDs (version 2, variant 4) */ public class UUID_V4_Gen implements UUIDFactory { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java index 3131434..51d750b 100644 --- a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java +++ b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java @@ -25,7 +25,7 @@ import java.util.List ; */ public interface JenaSubsystemRegistry { - /** Load - peform some kinds of search for {@link JenaSubsystemLifecycle} implementations. + /** Load - perform some kinds of search for {@link JenaSubsystemLifecycle} implementations. * This is called once in the initialization process. */ public void load(); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/util/CharEncoding.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/util/CharEncoding.java b/jena-core/src/main/java/org/apache/jena/util/CharEncoding.java index 90d88f3..802c7b5 100644 --- a/jena-core/src/main/java/org/apache/jena/util/CharEncoding.java +++ b/jena-core/src/main/java/org/apache/jena/util/CharEncoding.java @@ -23,7 +23,7 @@ import java.util.*; /** * * This class provides a number of static methods which interact with - * java.nio.charset.Charset to analyze and transform the strings identifing + * java.nio.charset.Charset to analyze and transform the strings identifying * character encodings. */ abstract public class CharEncoding { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java b/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java index 88b95a2..191b28c 100644 --- a/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java +++ b/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java @@ -172,7 +172,7 @@ public class LocationMapper * in a specific base directory. * @param uri * @param otherwise - * @return The alternative location choosen + * @return The alternative location chosen */ public String altMapping(String uri, String otherwise) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/util/PrintUtil.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/util/PrintUtil.java b/jena-core/src/main/java/org/apache/jena/util/PrintUtil.java index d845370..5253b74 100755 --- a/jena-core/src/main/java/org/apache/jena/util/PrintUtil.java +++ b/jena-core/src/main/java/org/apache/jena/util/PrintUtil.java @@ -35,7 +35,7 @@ import org.apache.jena.vocabulary.RDFS ; import org.apache.jena.vocabulary.ReasonerVocabulary ; /** - * A collection of small utilites for pretty printing nodes, triples + * A collection of small utilities for pretty printing nodes, triples * and associated things. The core functionality here is a static * prefix map which is preloaded with known prefixes. */ @@ -151,7 +151,7 @@ public class PrintUtil { } /** - * Return a simplified print string for a statment + * Return a simplified print string for a statement */ public static String print(Statement stmt) { if (stmt == null) return "(null)"; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/util/iterator/ClosableIterator.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/util/iterator/ClosableIterator.java b/jena-core/src/main/java/org/apache/jena/util/iterator/ClosableIterator.java index ed320d1..6023042 100644 --- a/jena-core/src/main/java/org/apache/jena/util/iterator/ClosableIterator.java +++ b/jena-core/src/main/java/org/apache/jena/util/iterator/ClosableIterator.java @@ -30,7 +30,7 @@ import java.util.Iterator; true).If they do not, resources may leak or be reclaimed unpredictably or much later than convenient. It is unnecessary but harmless to close the iterator once it has become exhausted. [<b>note</b>: previous versions - of this documention specified a close regardless of exhaustion, but this + of this documentation specified a close regardless of exhaustion, but this was never the contract applied internally.] <p> Implementors are encouraged to dispose of resources as soon as is convenient. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/util/iterator/WrappedIterator.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/util/iterator/WrappedIterator.java b/jena-core/src/main/java/org/apache/jena/util/iterator/WrappedIterator.java index 4432038..eee140a 100644 --- a/jena-core/src/main/java/org/apache/jena/util/iterator/WrappedIterator.java +++ b/jena-core/src/main/java/org/apache/jena/util/iterator/WrappedIterator.java @@ -78,7 +78,7 @@ public class WrappedIterator<T> extends NiceIterator<T> /** Initialise this wrapping with the given base iterator and remove-control. - @param base the base iterator that this tierator wraps + @param base the base iterator that this iterator wraps @param removeDenied true if .remove() must throw an exception */ protected WrappedIterator( Iterator<? extends T> base, boolean removeDenied ) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java b/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java index 3978499..316acf0 100644 --- a/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java +++ b/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java @@ -28,7 +28,7 @@ public class DC_11 { /** <p>The RDF model that holds the vocabulary terms</p> */ private static final Model m_model = ModelFactory.createDefaultModel(); - /** <p>The namespace of the vocabalary as a string ({@value})</p> */ + /** <p>The namespace of the vocabulary as a string ({@value})</p> */ public static final String NS = "http://purl.org/dc/elements/1.1/"; /** <p>The namespace of the vocabalary as a string</p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/vocabulary/LocationMappingVocab.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/LocationMappingVocab.java b/jena-core/src/main/java/org/apache/jena/vocabulary/LocationMappingVocab.java index 58496f4..28cb029 100644 --- a/jena-core/src/main/java/org/apache/jena/vocabulary/LocationMappingVocab.java +++ b/jena-core/src/main/java/org/apache/jena/vocabulary/LocationMappingVocab.java @@ -26,7 +26,7 @@ import org.apache.jena.rdf.model.* ; */ public class LocationMappingVocab { - /** <p>The namespace of the vocabalary as a string ({@value})</p> */ + /** <p>The namespace of the vocabulary as a string ({@value})</p> */ public static final String NS = "http://jena.hpl.hp.com/2004/08/location-mapping#"; /** <p>The namespace of the vocabalary as a string</p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/vocabulary/OWLResults.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/OWLResults.java b/jena-core/src/main/java/org/apache/jena/vocabulary/OWLResults.java index 44b3ba3..998516c 100644 --- a/jena-core/src/main/java/org/apache/jena/vocabulary/OWLResults.java +++ b/jena-core/src/main/java/org/apache/jena/vocabulary/OWLResults.java @@ -29,14 +29,14 @@ public class OWLResults { /** <p>The RDF model that holds the vocabulary terms</p> */ private static final Model m_model = ModelFactory.createDefaultModel(); - /** <p>The namespace of the vocabalary as a string ({@value})</p> */ + /** <p>The namespace of the vocabulary as a string ({@value})</p> */ public static final String NS = "http://www.w3.org/2002/03owlt/resultsOntology#"; - /** <p>The namespace of the vocabalary as a string</p> + /** <p>The namespace of the vocabulary as a string</p> * @see #NS */ public static String getURI() {return NS;} - /** <p>The namespace of the vocabalary as a resource</p> */ + /** <p>The namespace of the vocabulary as a resource</p> */ public static final Resource NAMESPACE = m_model.createResource( NS ); /** <p>A web page presenting the output of the test run, including system-specific http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/vocabulary/RSS.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/RSS.java b/jena-core/src/main/java/org/apache/jena/vocabulary/RSS.java index ed8bbe0..2745f44 100644 --- a/jena-core/src/main/java/org/apache/jena/vocabulary/RSS.java +++ b/jena-core/src/main/java/org/apache/jena/vocabulary/RSS.java @@ -21,7 +21,7 @@ package org.apache.jena.vocabulary; import org.apache.jena.rdf.model.* ; /** - The standard RSS vocavulary. + The standard RSS vocabulary. */ public class RSS extends Object { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-csv/src/main/java/org/apache/jena/propertytable/graph/QueryIterPropertyTableRow.java ---------------------------------------------------------------------- diff --git a/jena-csv/src/main/java/org/apache/jena/propertytable/graph/QueryIterPropertyTableRow.java b/jena-csv/src/main/java/org/apache/jena/propertytable/graph/QueryIterPropertyTableRow.java index a6efa69..1c14c2f 100644 --- a/jena-csv/src/main/java/org/apache/jena/propertytable/graph/QueryIterPropertyTableRow.java +++ b/jena-csv/src/main/java/org/apache/jena/propertytable/graph/QueryIterPropertyTableRow.java @@ -43,7 +43,7 @@ import org.apache.jena.util.iterator.NiceIterator ; import org.apache.jena.util.iterator.WrappedIterator ; /** - * If the triple size within a BasicePattern is greater than 1 (i.e. at least 2 triples), it's turned into a row querying. + * If the triple size within a BasicPattern is greater than 1 (i.e. at least 2 triples), it's turned into a row querying. * */ public class QueryIterPropertyTableRow extends QueryIterRepeatApply{ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BinaryDataFileSync.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BinaryDataFileSync.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BinaryDataFileSync.java index 0e356a3..5557798 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BinaryDataFileSync.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BinaryDataFileSync.java @@ -21,7 +21,7 @@ package org.apache.jena.dboe.base.file; /** Add synchronization to all BinaryDataFile operations. * This gives the correct thread-safe operation - * but isn'tnecessarily the best way to do it. + * but isn't necessarily the best way to do it. */ public class BinaryDataFileSync implements BinaryDataFile { private final BinaryDataFile other ; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccess.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccess.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccess.java index 156cb12..8aa5f3d 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccess.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccess.java @@ -27,7 +27,7 @@ import org.apache.jena.dboe.base.block.Block; * Suitable for memory mapped I/O (returns * internally allocated space for read, not provided from outside; write() can * insist the block written comes from allocate()). - * This interfce can also be backed by an in-memory implemntation + * This interface can also be backed by an in-memory implementation * ({@link BlockAccessMem}, {@link BlockAccessByteArray}). * * This is wrapped in a BlockMgr to provide a higher level abstraction. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccessBase.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccessBase.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccessBase.java index 9b17b7c..4b06513 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccessBase.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BlockAccessBase.java @@ -65,7 +65,7 @@ public abstract class BlockAccessBase implements BlockAccess { throw new BlockException(format("File size (%d) not a multiple of blocksize (%d)", filesize, blockSize)) ; } - /** Find path compoent, with extension */ + /** Find path component, with extension */ private static String label(String filename) { int j = filename.lastIndexOf('/') ; if ( j < 0 ) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannel.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannel.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannel.java index 1af6423..9a26800 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannel.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannel.java @@ -29,7 +29,7 @@ import org.apache.jena.atlas.lib.Sync ; * Interface to storage : a simplified version of FileChannel. Read and write * bytes, passed via ByteBuffers, addressed by file location. This interface is * not suitable for memory mapped I/O - there is no ability to use slices of a - * memort mapped file. This interface does not insert size of ByteBuffer - size + * memory mapped file. This interface does not insert size of ByteBuffer - size * of ByteBuffer passed to read controls the number of bytes read. Having our * own abstraction enables us to implement memory-backed versions. * http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannelFile.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannelFile.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannelFile.java index 8ea1f10..a4cb007 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannelFile.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/BufferChannelFile.java @@ -40,7 +40,7 @@ public class BufferChannelFile implements BufferChannel { return new BufferChannelFile(filename, base) ; } - /** Create a BufferChannelFile with unmangaged file resources - use with care */ + /** Create a BufferChannelFile with unmanaged file resources - use with care */ public static BufferChannelFile createUnmanaged(String filename, String mode) { FileChannel channel = FileLib.openUnmanaged(filename, mode) ; return new BufferChannelFile(filename, channel) ; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/ProcessFileLock.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/ProcessFileLock.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/ProcessFileLock.java index 493dbfd..e945df0 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/ProcessFileLock.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/file/ProcessFileLock.java @@ -59,7 +59,7 @@ public class ProcessFileLock { private enum NoLockAction { EXCEPTION, RETURN, WAIT } /** Create a {@code ProcessFileLock} using the named file. - * Locks are JVM-wide; each filename is assocauted with one lock object. + * Locks are JVM-wide; each filename is associated with one lock object. */ public static ProcessFileLock create(String filename) { try { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/page/PageBlockMgr.java ---------------------------------------------------------------------- diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/page/PageBlockMgr.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/page/PageBlockMgr.java index ac03f41..fa72b93 100644 --- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/page/PageBlockMgr.java +++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/base/page/PageBlockMgr.java @@ -151,7 +151,7 @@ public class PageBlockMgr<T extends Page> implements Closeable } - /** Promote a page to be writable in-place (block id does not change, hnce page does not change id). */ + /** Promote a page to be writable in-place (block id does not change, hence page does not change id). */ public void promoteInPlace(Page page) { Block block = page.getBackingBlock() ; block.getByteBuffer().rewind() ; @@ -205,7 +205,7 @@ public class PageBlockMgr<T extends Page> implements Closeable /** Signal the start of an update operation */ public void startRead() { blockMgr.beginRead() ; } - /** Signal the completeion of an update operation */ + /** Signal the completion of an update operation */ public void finishRead() { blockMgr.endRead() ; } @Override
