http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/cache/CacheInfo.java ---------------------------------------------------------------------- diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/cache/CacheInfo.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/cache/CacheInfo.java index 9a4fae1..bf0a9bc 100644 --- a/jena-base/src/main/java/org/apache/jena/atlas/lib/cache/CacheInfo.java +++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/cache/CacheInfo.java @@ -20,7 +20,7 @@ package org.apache.jena.atlas.lib.cache; import org.apache.jena.ext.com.google.common.cache.CacheStats ; -/** Simplified version of Guava's CacheStats (and abstractign away from Guava cache implementation) */ +/** Simplified version of Guava's CacheStats (and abstracting away from Guava cache implementation) */ public class CacheInfo { public final long requests; public final long hits; @@ -45,4 +45,4 @@ public class CacheInfo { return String.format("size=%,d count=%,d hits=%,d misses=%,d rate=%.1f", cacheSize, requests, hits, misses, hitRate) ; } -} \ No newline at end of file +}
http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/lib/tuple/TupleMap.java ---------------------------------------------------------------------- diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/tuple/TupleMap.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/tuple/TupleMap.java index 87bfca5..59a0a8a 100644 --- a/jena-base/src/main/java/org/apache/jena/atlas/lib/tuple/TupleMap.java +++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/tuple/TupleMap.java @@ -116,7 +116,7 @@ public class TupleMap { * Construct a mapping - the elements are the mappings of a tuple * originally in the order 0,1,2,... so SPO->POS is 2,0,1 (SPO->POS so S->2, * P->0, O->1) and not 1,2,0 (which is the extraction mapping). The label is - * just a label and is not interpretted here. + * just a label and is not interpreted here. */ private TupleMap(String label, int... elements) { this.len = elements.length ; @@ -316,7 +316,7 @@ public class TupleMap { return tuple[putSlotIdx(idx)] ; } - /** Compile a mapping encoded as single charcaters e.g. "SPO", "POS" */ + /** Compile a mapping encoded as single characters e.g. "SPO", "POS" */ private static int[] compileMapping(String domain, String range) { List<Character> input = StrUtils.toCharList(domain); List<Character> output = StrUtils.toCharList(range); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-base/src/main/java/org/apache/jena/atlas/logging/FmtLog.java ---------------------------------------------------------------------- diff --git a/jena-base/src/main/java/org/apache/jena/atlas/logging/FmtLog.java b/jena-base/src/main/java/org/apache/jena/atlas/logging/FmtLog.java index 590c49e..929f7c3 100644 --- a/jena-base/src/main/java/org/apache/jena/atlas/logging/FmtLog.java +++ b/jena-base/src/main/java/org/apache/jena/atlas/logging/FmtLog.java @@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory ; * required by level setting. * * An odd effect is order of the arguments - vararg arguments must be last - * so the order is Logger/Thorwable?/Format/args. + * so the order is Logger/Throwable?/Format/args. * * Also support: Class object instead of logger to help ad hoc usage. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-cmds/src/main/java/arq/query.java ---------------------------------------------------------------------- diff --git a/jena-cmds/src/main/java/arq/query.java b/jena-cmds/src/main/java/arq/query.java index f7041e9..ceaa761 100644 --- a/jena-cmds/src/main/java/arq/query.java +++ b/jena-cmds/src/main/java/arq/query.java @@ -167,7 +167,7 @@ public class query extends CmdARQ protected String getSummary() { return getCommandName()+" --data=<file> --query=<query>" ; } /** Choose the dataset. - * <li> use the data as described on the comand line + * <li> use the data as described on the command line * <li> else use FROM/FROM NAMED if present (pass null to ARQ) * <li> else provided an empty dataset and hope the query has VALUES/BIND */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-cmds/src/main/java/jena/cmd/Invoke.java ---------------------------------------------------------------------- diff --git a/jena-cmds/src/main/java/jena/cmd/Invoke.java b/jena-cmds/src/main/java/jena/cmd/Invoke.java index df27ec2..33d10c6 100644 --- a/jena-cmds/src/main/java/jena/cmd/Invoke.java +++ b/jena-cmds/src/main/java/jena/cmd/Invoke.java @@ -22,7 +22,7 @@ import java.lang.reflect.InvocationTargetException ; import java.lang.reflect.Method ; /** Helper code to invoke a main method buy reflection - * This means coomand can be invoked from this module even + * This means command can be invoked from this module even * if their implementation resides in a module later * in the build sequence. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-cmds/src/main/java/jena/cmd/TerminationException.java ---------------------------------------------------------------------- diff --git a/jena-cmds/src/main/java/jena/cmd/TerminationException.java b/jena-cmds/src/main/java/jena/cmd/TerminationException.java index 090fa48..defdac3 100644 --- a/jena-cmds/src/main/java/jena/cmd/TerminationException.java +++ b/jena-cmds/src/main/java/jena/cmd/TerminationException.java @@ -21,7 +21,7 @@ package jena.cmd; /** Exception used to indicate that the command should end now. * Use instead of System.exit so that a wrapper can catch (else a command server - * wil exit wrongly). */ + * will exit wrongly). */ public class TerminationException extends CmdException { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-cmds/src/main/java/jena/rdfcat.java ---------------------------------------------------------------------- diff --git a/jena-cmds/src/main/java/jena/rdfcat.java b/jena-cmds/src/main/java/jena/rdfcat.java index c292d45..706767d 100644 --- a/jena-cmds/src/main/java/jena/rdfcat.java +++ b/jena-cmds/src/main/java/jena/rdfcat.java @@ -45,7 +45,7 @@ import org.apache.jena.vocabulary.RDFS ; * An RDF utility that takes its name from the Unix utility <em>cat</em>, and * is used to generate serialisations of the contents of zero or more * input model serialisations. <strong>Note</strong> In a change from previous - * versions, but to ensure compatability with standard argument handling + * versions, but to ensure compatibility with standard argument handling * practice, the input language options are <em>no longer sticky</em>. In * previous versions, <code>rdfcat -n A B C</code> would ensure that A, B * and C were all read as N3. From Jena 2.5.2 onwards, this requires: http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/assembler/exceptions/CannotLoadClassException.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/assembler/exceptions/CannotLoadClassException.java b/jena-core/src/main/java/org/apache/jena/assembler/exceptions/CannotLoadClassException.java index 5eb791a..11803b9 100644 --- a/jena-core/src/main/java/org/apache/jena/assembler/exceptions/CannotLoadClassException.java +++ b/jena-core/src/main/java/org/apache/jena/assembler/exceptions/CannotLoadClassException.java @@ -21,7 +21,7 @@ package org.apache.jena.assembler.exceptions; import org.apache.jena.rdf.model.Resource ; /** - Exception used to report a faulire to load a class. + Exception used to report a failure to load a class. */ public class CannotLoadClassException extends AssemblerException { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/BaseDatatype.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/BaseDatatype.java b/jena-core/src/main/java/org/apache/jena/datatypes/BaseDatatype.java index 20393d0..98dbdcc 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/BaseDatatype.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/BaseDatatype.java @@ -117,7 +117,7 @@ public class BaseDatatype implements RDFDatatype { /** * Test whether the given LiteralLabel is a valid instance - * of this datatype. This takes into accound typing information + * of this datatype. This takes into account typing information * as well as lexical form - for example an xsd:string is * never considered valid as an xsd:integer (even if it is * lexically legal like "1"). @@ -155,7 +155,7 @@ public class BaseDatatype implements RDFDatatype { /** - * Equality for datatypes based solely on lexcial form, + * Equality for datatypes based solely on lexical form, * i.e. there value space is equivalent to their lexical space. */ protected static boolean isEqualByTerm(LiteralLabel value1, LiteralLabel value2) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/RDFDatatype.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/RDFDatatype.java b/jena-core/src/main/java/org/apache/jena/datatypes/RDFDatatype.java index 71c31e8..4039869 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/RDFDatatype.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/RDFDatatype.java @@ -76,13 +76,13 @@ public interface RDFDatatype { /** Gets the hash code of a given value. This defaults to - lit.getValue().hashCode(), but datatypes can overide this, and array types + lit.getValue().hashCode(), but datatypes can override this, and array types must. */ public int getHashCode( LiteralLabel lit ); /** - * If this datatype is used as the cannonical representation + * If this datatype is used as the canonical representation * for a particular java datatype then return that java type, * otherwise returns null. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/TypeMapper.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/TypeMapper.java b/jena-core/src/main/java/org/apache/jena/datatypes/TypeMapper.java index fcc776a..c505889 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/TypeMapper.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/TypeMapper.java @@ -136,7 +136,7 @@ public class TypeMapper { } /** - * Lookup a known datatype. An unkown datatype or a datatype with uri null + * Lookup a known datatype. An unknown datatype or a datatype with uri null * will return null will mean that the value will be treated as a old-style plain literal. * * @param uri the URI of the desired datatype http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFLangString.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFLangString.java b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFLangString.java index 5fb8ca3..e40f36b 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFLangString.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFLangString.java @@ -24,7 +24,7 @@ import org.apache.jena.graph.impl.LiteralLabel ; /** rdf:langString. * This covers the unusual case of "foo"^^rdf:langString - * When there is a language tag, there is a lexcial form but it is in two parts lex@lang + * When there is a language tag, there is a lexical form but it is in two parts lex@lang * This is not rdf:plainLiteral! */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFhtml.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFhtml.java b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFhtml.java index 9896416..94f4a98 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFhtml.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/RDFhtml.java @@ -23,7 +23,7 @@ import org.apache.jena.datatypes.RDFDatatype ; import org.apache.jena.graph.impl.LiteralLabel ; /** rdf:html. - * This only implements syntacic equality, not value equality (parsed HTML5, DOM normalized) + * This only implements syntactic equality, not value equality (parsed HTML5, DOM normalized) */ public class RDFhtml extends BaseDatatype implements RDFDatatype { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDDouble.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDDouble.java b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDDouble.java index d09088c..bc4af95 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDDouble.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDDouble.java @@ -98,7 +98,7 @@ public class XSDDouble extends XSDDatatype { /** * Parse a validated lexical form. Subclasses which use the default - * parse implementation and are not convered by the explicit convertValidatedData + * parse implementation and are not converted by the explicit convertValidatedData * cases should override this. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDFloat.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDFloat.java b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDFloat.java index 39ca1bd..9c7e0a8 100644 --- a/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDFloat.java +++ b/jena-core/src/main/java/org/apache/jena/datatypes/xsd/impl/XSDFloat.java @@ -97,7 +97,7 @@ public class XSDFloat extends XSDDatatype { /** * Parse a validated lexical form. Subclasses which use the default - * parse implementation and are not convered by the explicit convertValidatedData + * parse implementation and are not converted by the explicit convertValidatedData * cases should override this. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/enhanced/EnhGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/enhanced/EnhGraph.java b/jena-core/src/main/java/org/apache/jena/enhanced/EnhGraph.java index fe265be..6e28ce8 100644 --- a/jena-core/src/main/java/org/apache/jena/enhanced/EnhGraph.java +++ b/jena-core/src/main/java/org/apache/jena/enhanced/EnhGraph.java @@ -67,7 +67,7 @@ public class EnhGraph } /** - * Hashcode for an enhnaced graph is delegated to the underlyin graph. + * Hashcode for an enhanced graph is delegated to the underlying graph. * @return The hashcode as an int */ @Override final public int hashCode() { @@ -79,7 +79,7 @@ public class EnhGraph * are equal. * This is deemed to be a complete and correct interpretation of enhanced * graph equality, which is why this method has been marked final. - * <p> Note that this equality test does not look for correspondance between + * <p> Note that this equality test does not look for correspondence between * the structures in the two graphs. To test whether another graph has the * same nodes and edges as this one, use {@link #isIsomorphicWith}. * </p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/enhanced/Personality.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/enhanced/Personality.java b/jena-core/src/main/java/org/apache/jena/enhanced/Personality.java index fda667b..a8abbe5 100644 --- a/jena-core/src/main/java/org/apache/jena/enhanced/Personality.java +++ b/jena-core/src/main/java/org/apache/jena/enhanced/Personality.java @@ -67,14 +67,14 @@ public class Personality<T> { { return new Personality<>( this ); } /** - get the implemementation for the specified type, returning null if there + get the implementation for the specified type, returning null if there isn't one available. */ public <X extends T> Implementation getImplementation( Class<X> t ) { return types.get( t ); } /** - extend this personality by adding in all the mappins from the argument _p_. + extend this personality by adding in all the mappings from the argument _p_. return _this_ (for call chaining). */ public Personality<T> add( Personality<T> p ) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/GraphEventManager.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/GraphEventManager.java b/jena-core/src/main/java/org/apache/jena/graph/GraphEventManager.java index 87ce8dc..91e7055 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/GraphEventManager.java +++ b/jena-core/src/main/java/org/apache/jena/graph/GraphEventManager.java @@ -22,7 +22,7 @@ import java.util.*; /** The component of a graph responsible for managing events and listeners. - The interface extends GraphListener because most of the notificiations are + The interface extends GraphListener because most of the notifications are the same; the special case to note is that an event manager expects to be handed iterator events as lists, not as iterators. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java b/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java index 725796d..f04fae8 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java +++ b/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java @@ -39,7 +39,7 @@ public class GraphUtil private GraphUtil() {} - /** Return an iterator over the unique subjects with predciate p and object o. + /** Return an iterator over the unique subjects with predicate p and object o. * p and o can be wildcards (Node.ANY) * @param g Graph * @param p Predicate - may be Node.ANY @@ -79,7 +79,7 @@ public class GraphUtil return WrappedIterator.createNoRemove(nodes.iterator()) ; } - /** Does the graph use the node anywhere as a subject, predciate or object? */ + /** Does the graph use the node anywhere as a subject, predicate or object? */ public static boolean containsNode(Graph graph, Node node) { return graph.contains(node, Node.ANY, Node.ANY) || http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/NodeFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/NodeFactory.java b/jena-core/src/main/java/org/apache/jena/graph/NodeFactory.java index ce4a09e..566d3ca 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/NodeFactory.java +++ b/jena-core/src/main/java/org/apache/jena/graph/NodeFactory.java @@ -173,7 +173,7 @@ public class NodeFactory { /** Create a Node based on the value * If the value is a string we - * assume this is inteded to be a lexical form after all. + * assume this is intended to be a lexical form after all. * @param value * The value, mapped according to registered types. * @param dtype http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/Node_Literal.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/Node_Literal.java b/jena-core/src/main/java/org/apache/jena/graph/Node_Literal.java index 476ffb3..0c547e7 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/Node_Literal.java +++ b/jena-core/src/main/java/org/apache/jena/graph/Node_Literal.java @@ -92,7 +92,7 @@ public class Node_Literal extends Node_Concrete /** * Test that two nodes are semantically equivalent. - * In some cases this may be the sames as equals, in others + * In some cases this may be the same as equals, in others * equals is stricter. For example, two xsd:int literals with * the same value but different language tag are semantically * equivalent but distinguished by the java equality function http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/Node_NULL.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/Node_NULL.java b/jena-core/src/main/java/org/apache/jena/graph/Node_NULL.java index b47fa82..eefd1aa 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/Node_NULL.java +++ b/jena-core/src/main/java/org/apache/jena/graph/Node_NULL.java @@ -20,7 +20,7 @@ package org.apache.jena.graph; /** The Highlander Node_NULL exists for the database code (as a Node that - coresponds to a null in database tables for the reification code). + corresponds to a null in database tables for the reification code). */ @Deprecated http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/TransactionHandler.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/TransactionHandler.java b/jena-core/src/main/java/org/apache/jena/graph/TransactionHandler.java index 1850333..e81a962 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/TransactionHandler.java +++ b/jena-core/src/main/java/org/apache/jena/graph/TransactionHandler.java @@ -36,21 +36,21 @@ public interface TransactionHandler boolean transactionsSupported(); /** - If transactions are supported, begin a new transaction. If tranactions are - not supported, or they are but this tranaction is nested and nested transactions + If transactions are supported, begin a new transaction. If transactions are + not supported, or they are but this transaction is nested and nested transactions are not supported, throw an UnsupportedOperationException. */ void begin(); /** - If transactions are supported and there is a tranaction in progress, abort + If transactions are supported and there is a transaction in progress, abort it. If transactions are not supported, or there is no transaction in progress, throw an UnsupportedOperationException. */ void abort(); /** - If transactions are supported and there is a tranaction in progress, commit + If transactions are supported and there is a transaction in progress, commit it. If transactions are not supported, , or there is no transaction in progress, throw an UnsupportedOperationException. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/impl/GraphMatcher.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/impl/GraphMatcher.java b/jena-core/src/main/java/org/apache/jena/graph/impl/GraphMatcher.java index 55c9f85..b4e1062 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/impl/GraphMatcher.java +++ b/jena-core/src/main/java/org/apache/jena/graph/impl/GraphMatcher.java @@ -29,7 +29,7 @@ import org.apache.jena.util.iterator.* ; // Purely syntactic: Uses .equals, not .sameVAlueAs (see the one note at "PURE SYNTAX" below and "containsSameTerm") /** - * An implemantation of graph isomorphism for Graph equality. + * An implementation of graph isomorphism for Graph equality. * The underlying algorithm is exponential but will only enter * a non-deterministic polynomial part when there are a lot of difficult to * distinguish anonymous nodes http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelFactory.java b/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelFactory.java index fbfc522..142afb1 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelFactory.java +++ b/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelFactory.java @@ -45,7 +45,7 @@ public class LiteralLabelFactory return dtype ; } - /** Create a literal with a dataype. */ + /** Create a literal with a dtype. */ public static LiteralLabel create( String lex, RDFDatatype dtype) { return new LiteralLabelImpl( lex, "", dtype ); } @@ -71,7 +71,7 @@ public class LiteralLabelFactory /** * Build a typed literal label from its value form. If the value is a string we - * assume this is inteded to be a lexical form after all. + * assume this is intended to be a lexical form after all. * * @param value the value of the literal * @param lang the optional language tag, only relevant for plain literals @@ -90,7 +90,7 @@ public class LiteralLabelFactory /** * Build a typed literal label from its value form using - * whatever datatype is currently registered as the the default + * whatever datatype is currently registered as the default * representation for this java class. No language tag is supplied. * A plain string becomes an xsd:string. * @param value the literal value to encapsulate http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelImpl.java b/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelImpl.java index 4b8b782..bc5423c 100644 --- a/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelImpl.java +++ b/jena-core/src/main/java/org/apache/jena/graph/impl/LiteralLabelImpl.java @@ -115,7 +115,7 @@ final /*public*/ class LiteralLabelImpl implements LiteralLabel { /** * Build a typed literal label from its value form. If the value is a string we - * assume this is inteded to be a lexical form after all. + * assume this is intended to be a lexical form after all. * * @param value the value of the literal * @param lang the optional language tag, only relevant for plain literals @@ -127,7 +127,7 @@ final /*public*/ class LiteralLabelImpl implements LiteralLabel { /** * Build a typed literal label from its value form using - * whatever datatype is currently registered as the the default + * whatever datatype is currently registered as the default * representation for this java class. No language tag is supplied. * @param value the literal value to encapsulate */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/mem/BunchMap.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/mem/BunchMap.java b/jena-core/src/main/java/org/apache/jena/mem/BunchMap.java index f184be8..4ca9058 100644 --- a/jena-core/src/main/java/org/apache/jena/mem/BunchMap.java +++ b/jena-core/src/main/java/org/apache/jena/mem/BunchMap.java @@ -54,7 +54,7 @@ public interface BunchMap /** Get the <code>key</code> and return the value found there; if nothing, - cacluate the <code>value</code> and insert. Return the value now the slot. + calculate the <code>value</code> and insert. Return the value now the slot. */ public TripleBunch getOrSet( Object key, Function<Object, TripleBunch> setter ); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/n3/JenaReaderBase.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/n3/JenaReaderBase.java b/jena-core/src/main/java/org/apache/jena/n3/JenaReaderBase.java index 2e386c8..3bb56a4 100644 --- a/jena-core/src/main/java/org/apache/jena/n3/JenaReaderBase.java +++ b/jena-core/src/main/java/org/apache/jena/n3/JenaReaderBase.java @@ -29,7 +29,7 @@ import org.apache.jena.util.FileUtils ; import org.slf4j.LoggerFactory; /** Abstract class that sorts out input streams, readers and base URIs, to call a - * single worker function with model, UTF8 reader and visated base + * single worker function with model, UTF8 reader and visited base */ @SuppressWarnings("deprecation") public abstract class JenaReaderBase implements RDFReader http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/AllDifferent.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/AllDifferent.java b/jena-core/src/main/java/org/apache/jena/ontology/AllDifferent.java index 2c5da14..8c6016f 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/AllDifferent.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/AllDifferent.java @@ -93,7 +93,7 @@ public interface AllDifferent /** * <p>Answer true if this AllDifferent declaration includes <code>res</code> as one of the distinct individuals.</p> * @param res A resource to test against - * @return True if <code>res</code> is declared to be distinct from the other individuals in this declation. + * @return True if <code>res</code> is declared to be distinct from the other individuals in this declaration. * @exception ProfileException If the {@link Profile#DISTINCT_MEMBERS()} property is not supported in the current language profile. */ public boolean hasDistinctMember( Resource res ); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/DataRange.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/DataRange.java b/jena-core/src/main/java/org/apache/jena/ontology/DataRange.java index d206195..4daeccb 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/DataRange.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/DataRange.java @@ -64,7 +64,7 @@ public interface DataRange public void addOneOf( Literal lit ); /** - * <p>Add each literal from the given iteratation to the + * <p>Add each literal from the given iteration to the * enumeration that defines the permissible values of this datarange.</p> * @param literals An iterator over literals * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/MaxCardinalityQRestriction.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/MaxCardinalityQRestriction.java b/jena-core/src/main/java/org/apache/jena/ontology/MaxCardinalityQRestriction.java index 846761a..19101e9 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/MaxCardinalityQRestriction.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/MaxCardinalityQRestriction.java @@ -59,7 +59,7 @@ public interface MaxCardinalityQRestriction public int getMaxCardinalityQ(); /** - * <p>Answer true if this property restriction has the given maximum qualifed cardinality.</p> + * <p>Answer true if this property restriction has the given maximum qualified cardinality.</p> * @param maxCardinality The cardinality to test against * @return True if the given cardinality is the maximum qualified cardinality of the restricted property in this restriction * @exception ProfileException If the {@link Profile#MAX_CARDINALITY_Q()} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/MinCardinalityQRestriction.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/MinCardinalityQRestriction.java b/jena-core/src/main/java/org/apache/jena/ontology/MinCardinalityQRestriction.java index 9ecd9fe..4eee508 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/MinCardinalityQRestriction.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/MinCardinalityQRestriction.java @@ -59,7 +59,7 @@ public interface MinCardinalityQRestriction public int getMinCardinalityQ(); /** - * <p>Answer true if this property restriction has the given minimum qualifed cardinality.</p> + * <p>Answer true if this property restriction has the given minimum qualified cardinality.</p> * @param minCardinality The cardinality to test against * @return True if the given cardinality is the minimum qualified cardinality of the restricted property in this restriction * @exception ProfileException If the {@link Profile#MIN_CARDINALITY_Q()} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/OntClass.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/OntClass.java b/jena-core/src/main/java/org/apache/jena/ontology/OntClass.java index eb3177a..ce8df5a 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/OntClass.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/OntClass.java @@ -197,7 +197,7 @@ public interface OntClass * since this can be inferred from the closure of the graph. * </p> * <p> - * <strong>Note:</strong> This is is a change from the behaviour of Jena 1, which took a + * <strong>Note:</strong> This is a change from the behaviour of Jena 1, which took a * parameter <code>closed</code> to compute the closure over transitivity and equivalence * of sub-classes. The closure capability in Jena2 is determined by the inference engine * that is wrapped with the ontology model. The direct parameter is provided to allow, http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/Ontology.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/Ontology.java b/jena-core/src/main/java/org/apache/jena/ontology/Ontology.java index 297925d..d36977e 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/Ontology.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/Ontology.java @@ -215,7 +215,7 @@ public interface Ontology public void addIncompatibleWith( Resource res ); /** - * <p>Answer a resource that represents an ontology that is is incompatible with this ontology. If there is + * <p>Answer a resource that represents an ontology that is incompatible with this ontology. If there is * more than one such resource, an arbitrary selection is made.</p> * @return An {@link OntResource} representing an ontology that this ontology is incompatible with * @exception ProfileException If the {@link Profile#INCOMPATIBLE_WITH} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/AllDifferentImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/AllDifferentImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/AllDifferentImpl.java index d72e5d7..8858029 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/AllDifferentImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/AllDifferentImpl.java @@ -154,7 +154,7 @@ public class AllDifferentImpl /** * <p>Answer true if this AllDifferent declaration includes <code>res</code> as one of the distinct individuals.</p> * @param res A resource to test against - * @return True if <code>res</code> is declared to be distinct from the other individuals in this declation. + * @return True if <code>res</code> is declared to be distinct from the other individuals in this declaration. * @exception ProfileException If the {@link Profile#DISTINCT_MEMBERS()} property is not supported in the current language profile. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/DataRangeImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/DataRangeImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/DataRangeImpl.java index 557e73c..2c7825f 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/DataRangeImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/DataRangeImpl.java @@ -123,7 +123,7 @@ public class DataRangeImpl } /** - * <p>Add each literal from the given iteratation to the + * <p>Add each literal from the given iteration to the * enumeration that defines the permissible values of this datarange.</p> * @param literals An iterator over literals * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/OntClassImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntClassImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntClassImpl.java index f9ef911..6712804 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntClassImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntClassImpl.java @@ -351,7 +351,7 @@ public class OntClassImpl * since this can be inferred from the closure of the graph. * </p> * <p> - * <strong>Note:</strong> This is is a change from the behaviour of Jena 1, which took a + * <strong>Note:</strong> This is a change from the behaviour of Jena 1, which took a * parameter <code>closed</code> to compute the closure over transitivity and equivalence * of sub-classes. The closure capability in Jena2 is determined by the inference engine * that is wrapped with the ontology model. The direct parameter is provided to allow, @@ -917,7 +917,7 @@ public class OntClassImpl } /** - * <p>Answer a view of this class as an resriction on the given property.</p> + * <p>Answer a view of this class as an restriction on the given property.</p> * @param prop A property this is the subject of a property restriction class expression * @return This ontology class, converted to a restriction on the given property */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/OntModelImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntModelImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntModelImpl.java index 0aac74a..1416801 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntModelImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntModelImpl.java @@ -1850,7 +1850,7 @@ public class OntModelImpl extends ModelCom implements OntModel * <p> * Answer a new, anonymous node representing the fact that a given set of classes are all * pair-wise distinct. <code>AllDifferent</code> is a feature of OWL only, and is something - * of an anomoly in that it exists only to give a place to anchor the <code>distinctMembers</code> + * of an anomaly in that it exists only to give a place to anchor the <code>distinctMembers</code> * property, which is the actual expression of the fact. * </p> * @@ -1866,7 +1866,7 @@ public class OntModelImpl extends ModelCom implements OntModel * <p> * Answer a new, anonymous node representing the fact that a given set of classes are all * pair-wise distinct. <code>AllDifferent</code> is a feature of OWL only, and is something - * of an anomoly in that it exists only to give a place to anchor the <code>distinctMembers</code> + * of an anomaly in that it exists only to give a place to anchor the <code>distinctMembers</code> * property, which is the actual expression of the fact. * </p> * @param differentMembers A list of the class expressions that denote a set of mutually disjoint classes http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/OntPropertyImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntPropertyImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntPropertyImpl.java index be1cd37..dae6574 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntPropertyImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntPropertyImpl.java @@ -747,7 +747,7 @@ public class OntPropertyImpl /** * <p>Answer the property that is the inverse of this property. If no such property is defined, - * return null. If more than one inverse is defined, return an abritrary selection.</p> + * return null. If more than one inverse is defined, return an arbitrary selection.</p> * @return The property that is the inverse of this property, or null. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/OntologyImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntologyImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntologyImpl.java index f8485ff..6320994 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/OntologyImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/OntologyImpl.java @@ -109,7 +109,7 @@ public class OntologyImpl /** * <p>Add a resource representing an ontology that this ontology - * (strictly, the ontology reprsented by this node) imports.</p> + * (strictly, the ontology represented by this node) imports.</p> * @param res Represents a resource that this ontology imports. * @exception ProfileException If the {@link Profile#IMPORTS()} property is not supported in the current language profile. */ @@ -131,7 +131,7 @@ public class OntologyImpl /** * <p>Answer an iterator over all of the resources representing ontologies imported by this ontology. - * Each elemeent of the iterator will be an {@link OntResource}.</p> + * Each element of the iterator will be an {@link OntResource}.</p> * @return An iterator over the ontology import resources * @exception ProfileException If the {@link Profile#IMPORTS()} property is not supported in the current language profile. */ @@ -177,7 +177,7 @@ public class OntologyImpl /** * <p>Add a resource representing an ontology that this ontology - * (strictly, the ontology reprsented by this node) is backwards compatible with.</p> + * (strictly, the ontology represented by this node) is backwards compatible with.</p> * @param res Represents a resource that this ontology is compatible with. * @exception ProfileException If the {@link Profile#BACKWARD_COMPATIBLE_WITH} property is not supported in the current language profile. */ @@ -247,7 +247,7 @@ public class OntologyImpl /** * <p>Add a resource representing an ontology that this ontology - * (strictly, the ontology reprsented by this node) supercedes.</p> + * (strictly, the ontology represented by this node) supercedes.</p> * @param res Represents a resource that this ontology supercedes. * @exception ProfileException If the {@link Profile#PRIOR_VERSION} property is not supported in the current language profile. */ @@ -316,7 +316,7 @@ public class OntologyImpl /** * <p>Add a resource representing an ontology that this ontology - * (strictly, the ontology reprsented by this node) is incompatible with.</p> + * (strictly, the ontology represented by this node) is incompatible with.</p> * @param res Represents a resource that this ontology is incompatible with. * @exception ProfileException If the {@link Profile#INCOMPATIBLE_WITH} property is not supported in the current language profile. */ @@ -326,7 +326,7 @@ public class OntologyImpl } /** - * <p>Answer a resource that represents an ontology that is is incompatible with this ontology. If there is + * <p>Answer a resource that represents an ontology that is incompatible with this ontology. If there is * more than one such resource, an arbitrary selection is made.</p> * @return An ont resource representing an ontology that this ontology is incompatible with * @exception ProfileException If the {@link Profile#INCOMPATIBLE_WITH} property is not supported in the current language profile. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/ontology/impl/QualifiedRestrictionImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/ontology/impl/QualifiedRestrictionImpl.java b/jena-core/src/main/java/org/apache/jena/ontology/impl/QualifiedRestrictionImpl.java index 158598a..fffaf9c 100644 --- a/jena-core/src/main/java/org/apache/jena/ontology/impl/QualifiedRestrictionImpl.java +++ b/jena-core/src/main/java/org/apache/jena/ontology/impl/QualifiedRestrictionImpl.java @@ -113,7 +113,7 @@ public class QualifiedRestrictionImpl } /** - * <p>Answer the class or datarnage to which all values of the restricted property belong.</p> + * <p>Answer the class or datarange to which all values of the restricted property belong.</p> * @return The ontology class of the restricted property values * @exception ProfileException If the {@link Profile#HAS_CLASS_Q()} property is not supported in the current language profile. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Alt.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Alt.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Alt.java index f815af6..13284a2 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Alt.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Alt.java @@ -29,7 +29,7 @@ package org.apache.jena.rdf.model; * * <p>When a member is deleted from an Alternative using this interface, or an * iterator returned through this interface, all the other members with - * higher ordinals are renumbered using an implementation dependendent + * higher ordinals are renumbered using an implementation dependent * algorithm.</p> * * <p>This interface provides methods supporting typed literals. This means http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Bag.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Bag.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Bag.java index 40ac0ad..fe21b52 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Bag.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Bag.java @@ -23,7 +23,7 @@ package org.apache.jena.rdf.model; * <p>This interface defines methods for accessing RDF Bag resources. * These methods operate on the RDF statements contained in a model. The * Bag implementation may cache state from the underlying model, so - * objects should not be added to or removed a the Bag by directly + * objects should not be added to or removed to/from the Bag by directly * manipulating its properties, whilst the Bag is being * accessed through this interface.</p> * http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Container.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Container.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Container.java index af9f85d..910e7e6 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Container.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Container.java @@ -229,7 +229,7 @@ public interface Container extends Resource { /** Return an iterator over the values. * - * <p><B>Note</B> the interator returned is not a standard java.util.iterator. + * <p><B>Note</B> the iterator returned is not a standard java.util.iterator. * It has a <CODE>close</CODE> method which SHOULD be called if the * application has not completed the iteration, but no longer requires * the iterator. This will enable the freeing of resources in, for http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Literal.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Literal.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Literal.java index bb6422e..70276cb 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Literal.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Literal.java @@ -32,8 +32,8 @@ import org.apache.jena.datatypes.RDFDatatype ; * value returned. If the coercion fails then a runtime DatatypeFormatException is * thrown.</p> * - * <p>In the case of plain literals then the primitve accessor methods duplicate - * the behvaiour of jena1. The literal is internally stored in lexical form but + * <p>In the case of plain literals then the primitive accessor methods duplicate + * the behaviour of jena1. The literal is internally stored in lexical form but * the accessor methods such as getInt will attempt to parse the lexical form * and if successful will return the primitive value.</p> * http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java index 27a36ea..470b5f2 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java @@ -510,7 +510,7 @@ public interface Model public Model write( Writer writer ) ; /** - * <p>Write a serialized represention of a model in a specified language. + * <p>Write a serialized representation of a model in a specified language. * It is often better to use an OutputStream rather than a Writer, since this * will avoid character encoding errors. * </p> @@ -525,7 +525,7 @@ public interface Model public Model write( Writer writer, String lang ) ; /** - * <p>Write a serialized represention of a model in a specified language. + * <p>Write a serialized representation of a model in a specified language. * It is often better to use an OutputStream rather than a Writer, * since this will avoid character encoding errors. * </p> @@ -555,7 +555,7 @@ public interface Model public Model write(OutputStream out) ; /** - * <p>Write a serialized represention of this model in a specified language. + * <p>Write a serialized representation of this model in a specified language. * </p> * <p>The language in which to write the model is specified by the * <code>lang</code> argument. Predefined values are "RDF/XML", @@ -568,7 +568,7 @@ public interface Model public Model write( OutputStream out, String lang ) ; /** - * <p>Write a serialized represention of a model in a specified language. + * <p>Write a serialized representation of a model in a specified language. * </p> * <p>The language in which to write the model is specified by the * <code>lang</code> argument. Predefined values are "RDF/XML", @@ -638,7 +638,7 @@ public interface Model /** An alias for <code>listResourcesWithProperty(Property)</code>, - retained for backward compatability. It may be deprecated in later + retained for backward compatibility. It may be deprecated in later releases. */ ResIterator listSubjectsWithProperty( Property p ); @@ -652,7 +652,7 @@ public interface Model /** An alias for <code>listResourcesWithProperty</code>, retained for - backward compatability. It may be deprecated in later releases. + backward compatibility. It may be deprecated in later releases. */ ResIterator listSubjectsWithProperty( Property p, RDFNode o ); @@ -704,7 +704,7 @@ public interface Model * to represent a wildcard match. * @return true if the statement with subject s, property p and object o * is in the model, false otherwise - * @param s The subject of the statment tested (null as wildcard). + * @param s The subject of the statement tested (null as wildcard). * @param p The predicate of the statement tested (null as wildcard). * @param o The object of the statement tested (null as wildcard). @@ -789,7 +789,7 @@ public interface Model /** List the statements matching a selector. * - * <p>A statment is considered to match if the <CODE>test</CODE> method + * <p>A statement is considered to match if the <CODE>test</CODE> method * of s returns true when called on s.</p> * @return an iterator over the matching statements * @param s A selector object. @@ -839,7 +839,7 @@ public interface Model /** Create a new model containing the statements matching a query. * - * <p>A statment is considered to match if the <CODE>test</CODE> method + * <p>A statement is considered to match if the <CODE>test</CODE> method * of s returns true when called on s.</p> * @return an iterator over the matching statements * @param s A selector object. @@ -899,7 +899,7 @@ public interface Model @Override public boolean equals(Object m); - /** Begin a new transation. + /** Begin a new transaction. * * <p> All changes made to a model within a transaction, will either * be made, or none of them will be made.</p> @@ -973,7 +973,7 @@ public interface Model * <p>Special treatment is given to anonymous nodes. A binding is a one to * one mapping which maps each anonymous node in <code>this</code> model to * an anonymous node in <code>model</code>. Two statements s1 and s2 match - * under a binding if if s1.subject is anonymous and s2.subject is anonymous + * under a binding if s1.subject is anonymous and s2.subject is anonymous * and the binding maps s1.subject to s2.subject.</p> * * <p>Two models are isomorphic if there is a binding that allows all the http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/ModelChangedListener.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelChangedListener.java b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelChangedListener.java index 08a89a6..b8bf74d 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelChangedListener.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelChangedListener.java @@ -86,7 +86,7 @@ public interface ModelChangedListener /** Method to call when a list of statements has been deleted from the attached model. NOTE. This list need not be == to the list added using - Model::remov(List). + Model::remove(List). @param statements the list of statements that have been removed. */ void removedStatements( List<Statement> statements ); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/ModelFactory.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelFactory.java b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelFactory.java index 6c0bac5..3ff131f 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelFactory.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelFactory.java @@ -104,7 +104,7 @@ public class ModelFactory extends ModelFactoryBase { return AssemblerHelp.findAssemblerRoots( m ); } /** - Answer a Model as described the the Assembler specification rooted + Answer a Model as described the Assembler specification rooted at the Resource <code>root</code> in its Model. <code>Resource</code> must be of rdf:type <code>ja:Object</code>, where <code>ja</code> is the prefix of Jena Assembler objects. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/NodeIterator.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/NodeIterator.java b/jena-core/src/main/java/org/apache/jena/rdf/model/NodeIterator.java index a4c94c0..e57a125 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/NodeIterator.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/NodeIterator.java @@ -27,7 +27,7 @@ import org.apache.jena.util.iterator.ExtendedIterator ; * <p>RDF iterators are standard Java iterators, except that they * have an extra method that returns specifically typed objects, * in this case RDF nodes, and have a <CODE>close()</CODE> method. - * thatshould be called to free resources if the application does + * that should be called to free resources if the application does * not complete the iteration.</p> */ public interface NodeIterator extends ExtendedIterator<RDFNode> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/RDFNode.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFNode.java b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFNode.java index 5113828..9a36053 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFNode.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFNode.java @@ -36,7 +36,7 @@ public interface RDFNode extends FrontsNode public String toString(); /** - Answer true iff this RDFNode is an anonynous resource. Useful for + Answer true iff this RDFNode is an anonymous resource. Useful for one-off tests: see also visitWith() for making literal/anon/URI choices. */ public boolean isAnon(); @@ -54,7 +54,7 @@ public interface RDFNode extends FrontsNode public boolean isURIResource(); /** - Answer true iff this RDFNode is a URI resource or an anonynous + Answer true iff this RDFNode is a URI resource or an anonymous resource (ie is not a literal). Useful for one-off tests: see also visitWith() for making literal/anon/URI choices. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReader.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReader.java b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReader.java index fe7afd7..4eaff5c 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReader.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReader.java @@ -21,7 +21,7 @@ package org.apache.jena.rdf.model; import java.io.Reader; import java.io.InputStream; -/** An <code>RDFReader</code> reads a serialized represenation of RDF, +/** An <code>RDFReader</code> reads a serialized representation of RDF, * e.g. RDF/XML, n-triple or n3 and adds the statements to a model. */ public interface RDFReader { @@ -70,7 +70,7 @@ public interface RDFReader { * properties can be changed by calling this method. </p> * * <p>No standard properties are defined. For the properties recognised - * by any particular reader implementation, see the the documentation for + * by any particular reader implementation, see the documentation for * that implementation. </p> * <p> The built-in RDFReaders have properties as defined by: * <dl> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReaderF.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReaderF.java b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReaderF.java index e752f26..aaab438 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReaderF.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFReaderF.java @@ -34,7 +34,7 @@ package org.apache.jena.rdf.model; * <li>N3</li> * </ul> *<p>System wide defaults for classes to use as readers for these languages - *are defined. These defaults may be overwridden by setting a system property + *are defined. These defaults may be overridden by setting a system property *with a name of the form org.apache.jena.readers.<lang> to the class *name.</p> * <p><b>NOTE:</b> All settings are global in nature</p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriter.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriter.java b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriter.java index 595d739..a881072 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriter.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriter.java @@ -22,7 +22,7 @@ import java.io.OutputStream; /** RDFWriter is an interface to RDF serializers. * * <p>An <code>RDFWriter</code> is a class which serializes an RDF model - * to some RDF serializaion language. RDF/XML, n-triple and n3 are + * to some RDF serialization language. RDF/XML, n-triple and n3 are * examples of serialization languages.</p> */ public interface RDFWriter { @@ -66,7 +66,7 @@ public interface RDFWriter { * properties can be changed by calling this method. </p> * * <p>No standard properties are defined. For the properties recognised - * by any particular writer implementation, see the the documentation for + * by any particular writer implementation, see the documentation for * that implementation. </p> * <p> * The built-in RDFWriters have properties as defined by: http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriterF.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriterF.java b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriterF.java index 45bc1bf..ad2b949 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriterF.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/RDFWriterF.java @@ -18,7 +18,7 @@ package org.apache.jena.rdf.model; -/** An RDFWriter factory inferface. +/** An RDFWriter factory interface. * * <p>The factory will create an appropriate writer for the particular * serialization language being read. Predefined languages include:</p> @@ -29,7 +29,7 @@ package org.apache.jena.rdf.model; * <li>N3</li> * </ul> *<p>System wide defaults for classes to use as readers for these languages - *are defined. These defaults may be overwridden by setting a system property + *are defined. These defaults may be overridden by setting a system property *with a name of the form org.apache.jena.readers.<lang> to the class *name.</p> *<p><b>NOTE:</b> All settings are global in nature</p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Selector.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Selector.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Selector.java index 415c596..82c7f0b 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Selector.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Selector.java @@ -34,7 +34,7 @@ public interface Selector extends Predicate<Statement> { Answer true iff this Selector is completely characterised by its subject, predicate, and object fields. If so, the <code>test</code> predicate need not be called to decide if a statement is acceptable. This allows query engines - lattitude for optimisation (and our memory-based implementation both exploits + latitude for optimisation (and our memory-based implementation both exploits this licence). */ boolean isSimple(); http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/Seq.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Seq.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Seq.java index e779210..429caeb 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Seq.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Seq.java @@ -299,7 +299,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -312,7 +312,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -325,7 +325,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -338,7 +338,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -351,7 +351,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -364,7 +364,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -377,7 +377,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -390,7 +390,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> @@ -404,7 +404,7 @@ public interface Seq extends Container { /** Return the index of a given member of the sequence. * - * <p>If more the the same value appears more than once in the sequence, + * <p>If more the same value appears more than once in the sequence, * it is undefined which of the indexes will be returned.</p> * * <p>If the member is not found in this sequence, a value of 0 is returned.</p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/StatementBoundaryBase.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/StatementBoundaryBase.java b/jena-core/src/main/java/org/apache/jena/rdf/model/StatementBoundaryBase.java index bb0f531..ac4c863 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/StatementBoundaryBase.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/StatementBoundaryBase.java @@ -23,7 +23,7 @@ import org.apache.jena.graph.TripleBoundary ; /** StatementBoundaryBase - a base class for StatementBoundarys, with - built-in converstion to triples and a continueWith as well as a stopAt. + built-in conversation to triples and a continueWith as well as a stopAt. */ public abstract class StatementBoundaryBase implements StatementBoundary { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/InfModelImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/InfModelImpl.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/InfModelImpl.java index e39b88b..74e58e5 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/InfModelImpl.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/InfModelImpl.java @@ -47,7 +47,7 @@ public class InfModelImpl extends ModelCom implements InfModel { /** * Return the raw RDF model being processed (i.e. the argument - * to the Reasonder.bind call that created this InfModel). + * to the Reasoner.bind call that created this InfModel). */ @Override public Model getRawModel() { @@ -80,7 +80,7 @@ public class InfModelImpl extends ModelCom implements InfModel { * "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 rather than just leaving to be done at first query time. + * this preparation is done rather than just leaving to be done at first query time. */ @Override public void prepare() { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/LiteralImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/LiteralImpl.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/LiteralImpl.java index de3c342..7907002 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/LiteralImpl.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/LiteralImpl.java @@ -259,7 +259,7 @@ public class LiteralImpl extends EnhNode implements Literal { /** * Test that two literals are semantically equivalent. - * In some cases this may be the sames as equals, in others + * In some cases this may be the same as equals, in others * equals is stricter. For example, two xsd:int literals with * the same value but different language tag are semantically * equivalent but distinguished by the java equality function http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java index fb99d2c..99ec9a8 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java @@ -46,7 +46,7 @@ import org.apache.jena.vocabulary.RDF ; * * <P>This class implements common methods, mainly convenience methods, for * model implementations. It is intended use is as a base class from which - * model implemenations can be derived.</P> + * model implementations can be derived.</P> */ public class ModelCom extends EnhGraph http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ReifierStd.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ReifierStd.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ReifierStd.java index 53bc9fb..4b5fe76 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ReifierStd.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ReifierStd.java @@ -33,7 +33,7 @@ import org.apache.jena.vocabulary.RDF ; /** A Reifier that only supports one style Standard (intercept, no conceal * -- and intercept is a no-op anyway because all triples * appear in the underlying graph for storing all triples). - * This exists to give reification style "Standard" semantics primarly for legacy reasons. + * This exists to give reification style "Standard" semantics primarily for legacy reasons. */ public class ReifierStd http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/SelectorImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/SelectorImpl.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/SelectorImpl.java index 9cdb2bf..e548d2f 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/SelectorImpl.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/SelectorImpl.java @@ -57,7 +57,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -73,7 +73,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -89,7 +89,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -105,7 +105,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -121,7 +121,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -137,7 +137,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -153,7 +153,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. @@ -169,7 +169,7 @@ public final class SelectorImpl extends SimpleSelector { /** Create a selector. A model <b>may</b> restrict statements that are tested using * the <CODE>selects</CODE> method to those whose subject matches the * subject parameter, whose predicate matches the predicate parameter and whose - * object matches the object paramater. Any null parameter is considered to + * object matches the object parameter. Any null parameter is considered to * match anything. * @param subject if not null, the subject of selected statements * must equal this argument. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdf/model/impl/StatementBase.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/StatementBase.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/StatementBase.java index 3ff1fac..7c80364 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/StatementBase.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/StatementBase.java @@ -154,7 +154,7 @@ public abstract class StatementBase { return getLiteral().isWellFormedXML(); } /** - Answer a string describing this Statement in a vagely pretty way, with the + Answer a string describing this Statement in a vaguely pretty way, with the representations of the subject, predicate, and object in that order. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPHandlers.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPHandlers.java b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPHandlers.java index 051f285..11366d1 100644 --- a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPHandlers.java +++ b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPHandlers.java @@ -26,7 +26,7 @@ import org.xml.sax.ErrorHandler; /** * The interface to set the various handlers on ARP. User defined * implementations of this interface are not supported. This is a class rather - * than an interface to have better backward compatibilitiy with earlier + * than an interface to have better backward compatibility with earlier * versions, however constructing instances of this class is deprecated. */ public class ARPHandlers { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPOptions.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPOptions.java b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPOptions.java index cb5b3f1..c66fae7 100644 --- a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPOptions.java +++ b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/ARPOptions.java @@ -25,7 +25,7 @@ import org.apache.jena.iri.IRIFactory; * The interface to set the various options on ARP. * User defined * implementations of this interface are not supported. This is a class rather - * than an interface to have better backward compatibilitiy with earlier + * than an interface to have better backward compatibility with earlier * versions, however constructing instances of this class is deprecated. * In addition, accessing the fields of {@link ARPErrorNumbers} through this * class is not supported. The inheritance of this interface will be removed. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/TaintImpl.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/TaintImpl.java b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/TaintImpl.java index 878931e..1441047 100644 --- a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/TaintImpl.java +++ b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/TaintImpl.java @@ -18,7 +18,7 @@ package org.apache.jena.rdfxml.xmlinput.impl; /** - * Minimal implemantation of {@link Taint} + * Minimal implementation of {@link Taint} */ public class TaintImpl implements Taint { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/XMLContext.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/XMLContext.java b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/XMLContext.java index ff80523..85aece2 100644 --- a/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/XMLContext.java +++ b/jena-core/src/main/java/org/apache/jena/rdfxml/xmlinput/impl/XMLContext.java @@ -31,7 +31,7 @@ import org.xml.sax.SAXParseException ; /** * * Both the baseURI and the lang may be tainted with errors. They should not be - * accessed without providing a taint object to propogate such tainting. + * accessed without providing a taint object to propagate such tainting. */ public class XMLContext extends AbsXMLContext implements ARPErrorNumbers { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/FGraph.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/FGraph.java b/jena-core/src/main/java/org/apache/jena/reasoner/FGraph.java index fea4066..e595282 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/FGraph.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/FGraph.java @@ -22,7 +22,7 @@ import org.apache.jena.graph.* ; import org.apache.jena.util.iterator.* ; /** - * Wrapper round a Graph to implement the slighly modified Finder + * Wrapper round a Graph to implement the slightly modified Finder * interface. */ public class FGraph implements Finder { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-core/src/main/java/org/apache/jena/reasoner/IllegalParameterException.java ---------------------------------------------------------------------- diff --git a/jena-core/src/main/java/org/apache/jena/reasoner/IllegalParameterException.java b/jena-core/src/main/java/org/apache/jena/reasoner/IllegalParameterException.java index 1eebd3d..a6024b5 100644 --- a/jena-core/src/main/java/org/apache/jena/reasoner/IllegalParameterException.java +++ b/jena-core/src/main/java/org/apache/jena/reasoner/IllegalParameterException.java @@ -19,7 +19,7 @@ package org.apache.jena.reasoner; /** - * Exception used to to signal that a configuration parameter was used + * Exception used to signal that a configuration parameter was used * (typically in a setParameter call) that was not understood - either * because it was not a recognized parameter URI or its value range was incorrect. */
