Repository: jena Updated Branches: refs/heads/master ee6ae2f85 -> 48769a510
http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredResourceImpl.java ---------------------------------------------------------------------- diff --git a/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredResourceImpl.java b/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredResourceImpl.java index 60bbcf4..aade389 100644 --- a/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredResourceImpl.java +++ b/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredResourceImpl.java @@ -185,7 +185,7 @@ public class SecuredResourceImpl extends SecuredRDFNodeImpl implements SecuredRe /** * Add the property <code>p</code> with the pre-constructed Literal value * <code>o</code> to this resource, <i>ie</i> add (this, p, o) to this's - * securedModel. Answer this resource. <b>NOTE</b> thjat this is distinct + * securedModel. Answer this resource. <b>NOTE</b> that this is distinct * from the other addLiteral methods in that the Literal is not turned into * a Literal. * @@ -396,7 +396,7 @@ public class SecuredResourceImpl extends SecuredRDFNodeImpl implements SecuredRe } /** - * Returns an a unique identifier for anonymous resources. + * Returns a unique identifier for anonymous resources. * * <p> * The id is unique within the scope of a particular implementation. All http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java ---------------------------------------------------------------------- diff --git a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java index 3adae39..a1109d3 100644 --- a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java +++ b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java @@ -309,7 +309,7 @@ public interface RDFConnection extends /** * Delete a graph from the dataset. - * Null or "default" measn the default graph, which is cleared, not removed. + * Null or "default" means the default graph, which is cleared, not removed. * * @param graphName */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java ---------------------------------------------------------------------- diff --git a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java index 0a67930..8f5b359 100644 --- a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java +++ b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java @@ -211,7 +211,7 @@ public class RDFConnectionRemote implements RDFConnection { doPutPost(url, file, lang, replace); } - /** Send a file to named graph (or "default" or null for the defaultl graph). + /** Send a file to named graph (or "default" or null for the default graph). * <p> * The Content-Type is taken from the given {@code Lang}. * <p> @@ -230,7 +230,7 @@ public class RDFConnectionRemote implements RDFConnection { }); } - /** Send a model to named graph (or "default" or null for the defaultl graph). + /** Send a model to named graph (or "default" or null for the default graph). * <p> * The Content-Type is taken from the given {@code Lang}. * <p> @@ -318,7 +318,7 @@ public class RDFConnectionRemote implements RDFConnection { }); } - /** Do a PUT or POST to a dataset, sending the contents of a daatsets. + /** Do a PUT or POST to a dataset, sending the contents of a datasets. * The Content-Type is {@code application/n-quads}. * <p> * "Replace" implies PUT, otherwise a POST is used. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFDatasetConnection.java ---------------------------------------------------------------------- diff --git a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFDatasetConnection.java b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFDatasetConnection.java index 330dc3d..7be5dc1 100644 --- a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFDatasetConnection.java +++ b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFDatasetConnection.java @@ -98,7 +98,7 @@ public interface RDFDatasetConnection extends RDFDatasetAccessConnection, Transa /** * Delete a graph from the dataset. - * Null or "default" measn the default graph, which is cleared, not removed. + * Null or "default" means the default graph, which is cleared, not removed. * * @param graphName */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src-examples/sdb/examples/ExJdbcConnection.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src-examples/sdb/examples/ExJdbcConnection.java b/jena-sdb/src-examples/sdb/examples/ExJdbcConnection.java index e866c8b..0f2baea 100644 --- a/jena-sdb/src-examples/sdb/examples/ExJdbcConnection.java +++ b/jena-sdb/src-examples/sdb/examples/ExJdbcConnection.java @@ -36,7 +36,7 @@ import org.apache.jena.sdb.store.DatasetStore ; import org.apache.jena.sdb.store.LayoutType ; import org.apache.jena.sdb.store.StoreFactory ; -/** Managed JDBC connections : creat */ +/** Managed JDBC connections : create */ public class ExJdbcConnection { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/SDBFactory.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/SDBFactory.java b/jena-sdb/src/main/java/org/apache/jena/sdb/SDBFactory.java index 62b7288..089d79a 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/SDBFactory.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/SDBFactory.java @@ -108,7 +108,7 @@ public class SDBFactory /** * Connect to a store, based on store and connection descriptions in a file. - * @param configFile Filename for assembler for Store and SDBConenction + * @param configFile Filename for assembler for Store and SDBConnection * @return Store */ public static Store connectStore(String configFile) @@ -263,7 +263,7 @@ public class SDBFactory * @param jdbcConnection JDBC connection * @param desc Store description object * @return GraphStore - * @deprected Use connectDatasetGraph(Connection, StoreDesc) + * @deprecated Use connectDatasetGraph(Connection, StoreDesc) */ @Deprecated public static GraphStore connectGraphStore(Connection jdbcConnection, StoreDesc desc) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/Store.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/Store.java b/jena-sdb/src/main/java/org/apache/jena/sdb/Store.java index 8da4ccd..a35e5ed 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/Store.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/Store.java @@ -33,7 +33,7 @@ import org.apache.jena.sdb.store.* ; * * A store consists of a number of handlers for different aspects of * the process of setting up and querying a database-backed Store. This - * means Store for new databases can be assmelbed from those standard + * means Store for new databases can be assembled from those standard * components that work, with database-specific code only where necessary. * A common case if the formatting of the database - this is often DB-specific * yet SQL generation of query is more standard. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/core/Annotation1.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/core/Annotation1.java b/jena-sdb/src/main/java/org/apache/jena/sdb/core/Annotation1.java index b319b42..db1da5e 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/core/Annotation1.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/core/Annotation1.java @@ -20,7 +20,7 @@ package org.apache.jena.sdb.core; import org.apache.jena.sdb.core.sqlnode.SqlNode ; -/** Collect some notes into a single annoation. +/** Collect some notes into a single annotation. */ public class Annotation1 { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/GenerateSQL.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/GenerateSQL.java b/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/GenerateSQL.java index 4d9e01e..a225d39 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/GenerateSQL.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/GenerateSQL.java @@ -43,7 +43,7 @@ public class GenerateSQL implements SQLGenerator return generatePartSQL(sqlNode) ; } - /** Generate an SQL string for the node - which may no tbe legal SQL (e.g. no outer SELECT).*/ + /** Generate an SQL string for the node - which may no the legal SQL (e.g. no outer SELECT).*/ public String generatePartSQL(SqlNode sqlNode) { IndentedLineBuffer buff = new IndentedLineBuffer() ; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/SqlSelectBlock.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/SqlSelectBlock.java b/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/SqlSelectBlock.java index c6c1d58..9667603 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/SqlSelectBlock.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/core/sqlnode/SqlSelectBlock.java @@ -30,7 +30,7 @@ import org.apache.jena.sdb.shared.SDBInternalError ; import org.apache.jena.sparql.core.Var ; /** A unit that generates an SQL SELECT Statement. - * The SQL generation process is a pass over the SqlNdoe structure to generate SelectBlocks, + * The SQL generation process is a pass over the SqlNode structure to generate SelectBlocks, * then to generate the SQL strings. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/exprmatch/ExprMatcher.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/exprmatch/ExprMatcher.java b/jena-sdb/src/main/java/org/apache/jena/sdb/exprmatch/ExprMatcher.java index b0187f5..ad8caad 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/exprmatch/ExprMatcher.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/exprmatch/ExprMatcher.java @@ -38,7 +38,7 @@ public class ExprMatcher /** Match an expression against a pattern. If the pattern has variables * in it, these are checked, by name, in the MapAction and the registered action * invoked to determine whether the variable matches; if the pattern has a named - * funcion, the MapCallout is used to find a registered operation. + * function, the MapCallout is used to find a registered operation. * Return a map of results, recording the bindings of variables */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/layout2/VarState.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/layout2/VarState.java b/jena-sdb/src/main/java/org/apache/jena/sdb/layout2/VarState.java index ab0330e..7fba0656 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/layout2/VarState.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/layout2/VarState.java @@ -18,7 +18,7 @@ package org.apache.jena.sdb.layout2; -/** The state of a variable as reocorde by the variable tracking code */ +/** The state of a variable as recorded by the variable tracking code */ public enum VarState { UNBOUND, // The variable is definitely not set http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/script/CmdDesc.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/script/CmdDesc.java b/jena-sdb/src/main/java/org/apache/jena/sdb/script/CmdDesc.java index 09e59bc..efe4066 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/script/CmdDesc.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/script/CmdDesc.java @@ -32,7 +32,7 @@ import org.apache.jena.sdb.util.Pair ; import org.apache.jena.sparql.util.graph.GraphUtils ; import org.apache.jena.util.FileManager ; -/** Java description of a command - class and arguments. The assmbler build one of these */ +/** Java description of a command - class and arguments. The assembler build one of these */ public class CmdDesc { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/script/ScriptDesc.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/script/ScriptDesc.java b/jena-sdb/src/main/java/org/apache/jena/sdb/script/ScriptDesc.java index c455152..0d55473 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/script/ScriptDesc.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/script/ScriptDesc.java @@ -29,7 +29,7 @@ import org.apache.jena.sdb.assembler.AssemblerVocab ; import org.apache.jena.sparql.util.graph.GraphUtils ; import org.apache.jena.util.FileManager ; -/** Java description a script : the assmbler build one of these */ +/** Java description a script : the assembler build one of these */ public class ScriptDesc { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreFormatter.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreFormatter.java b/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreFormatter.java index dc014f3..96236f1 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreFormatter.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreFormatter.java @@ -27,7 +27,7 @@ public interface StoreFormatter /** Create the main tables and all indexes */ public void create() ; - /** Add indexes - these are kept upto date for any future additions or deletions of data */ + /** Add indexes - these are kept up to date for any future additions or deletions of data */ void addIndexes() ; /** Drop indexes for triple/node tables */ @@ -36,6 +36,6 @@ public interface StoreFormatter /** Format the store - create tables but not secondary indexes */ void format() ; - /** Truncate tables - clearing the store but leaving all indexes inplace */ + /** Truncate tables - clearing the store but leaving all indexes in place */ void truncate() ; } http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreMaker.java ---------------------------------------------------------------------- diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreMaker.java b/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreMaker.java index dab9862..bcd02bb 100644 --- a/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreMaker.java +++ b/jena-sdb/src/main/java/org/apache/jena/sdb/store/StoreMaker.java @@ -23,7 +23,7 @@ import org.apache.jena.sdb.StoreDesc ; import org.apache.jena.sdb.sql.SDBConnection ; /** Source of new store objects. Used by StoreFactory, where there is a registry - * dtatype type + layout type => store maker. + * datatype type + layout type => store maker. */ public interface StoreMaker http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src-examples/tdb/examples/ExQuadFilter.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src-examples/tdb/examples/ExQuadFilter.java b/jena-tdb/src-examples/tdb/examples/ExQuadFilter.java index d6f98da..20782e3 100644 --- a/jena-tdb/src-examples/tdb/examples/ExQuadFilter.java +++ b/jena-tdb/src-examples/tdb/examples/ExQuadFilter.java @@ -33,7 +33,7 @@ import org.apache.jena.tdb.sys.SystemTDB ; import org.apache.jena.tdb.sys.TDBInternal ; /** Example of how to filter quads as they are accessed at the lowest level. - * Can be used to exclude daat from specific graphs. + * Can be used to exclude data from specific graphs. * This mechanism is not limited to graphs - it works for properties or anything * where the visibility of otherwise is determined by the elements of the quad. * See <a href="http://incubator.apache.org/jena/documentation/tdb/quadfilter.html">QuadFiltering</a> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src-examples/tdb/examples/ExTDB6.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src-examples/tdb/examples/ExTDB6.java b/jena-tdb/src-examples/tdb/examples/ExTDB6.java index e5ce586..3dd2c0a 100644 --- a/jena-tdb/src-examples/tdb/examples/ExTDB6.java +++ b/jena-tdb/src-examples/tdb/examples/ExTDB6.java @@ -33,7 +33,7 @@ import org.apache.jena.rdf.model.Statement ; import org.apache.jena.tdb.TDB ; import org.apache.jena.tdb.TDBFactory ; -/** Example of single threaded use of TDB workign with the Jena RDF API */ +/** Example of single threaded use of TDB working with the Jena RDF API */ public class ExTDB6 { /// observe the non-http "protocol", because it is a bad precident http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src-examples/tdb/examples/ExTDB_Txn3.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src-examples/tdb/examples/ExTDB_Txn3.java b/jena-tdb/src-examples/tdb/examples/ExTDB_Txn3.java index 515b203..1b6f067 100644 --- a/jena-tdb/src-examples/tdb/examples/ExTDB_Txn3.java +++ b/jena-tdb/src-examples/tdb/examples/ExTDB_Txn3.java @@ -23,7 +23,7 @@ import org.apache.jena.sparql.core.DatasetGraph ; import org.apache.jena.tdb.TDBFactory ; import org.apache.jena.tdb.transaction.DatasetGraphTransaction ; -/** Illustraion of working at the DatasetGraph level. +/** Illustration of working at the DatasetGraph level. * Normally, applications work with {@link Dataset}. * Occasionally, it's more convenient to work with the * TDB-implemented DatasetGraph interface. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java b/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java index f31668f..b9927ec 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java @@ -199,7 +199,7 @@ public class TDB { /** * Sync a TDB synchronizable object (model, graph, dataset). If force is * true, synchronize as much as possible (e.g. file metadata) else make a - * reasonable attenpt at synchronization but does not gauarantee disk state. + * reasonable attempt at synchronization but does not guarantee disk state. * Do nothing otherwise */ private static void syncObject(Object object) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/TDBLoader.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/TDBLoader.java b/jena-tdb/src/main/java/org/apache/jena/tdb/TDBLoader.java index 85be470..efc2f95 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/TDBLoader.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/TDBLoader.java @@ -184,7 +184,7 @@ public class TDBLoader loadDataset$(dataset, urls, showProgress, generateStats) ; } - /** Load a dataset from an input steram which must be in N-Quads form */ + /** Load a dataset from an input stream which must be in N-Quads form */ public void loadDataset(DatasetGraphTDB dataset, InputStream input) { // Triples languages are quads languages so no test for quad-ness needed. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BlockAccess.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BlockAccess.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BlockAccess.java index c4e8f60..dbed0b9 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BlockAccess.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BlockAccess.java @@ -27,7 +27,7 @@ import org.apache.jena.tdb.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-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannel.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannel.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannel.java index ccde403..30a8ec7 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannel.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/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-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannelFile.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannelFile.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannelFile.java index 2c8e1ea..9550df0 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannelFile.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferChannelFile.java @@ -39,7 +39,7 @@ public class BufferChannelFile implements BufferChannel return new BufferChannelFile(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) { try http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/FileBase.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/FileBase.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/FileBase.java index a2ed8ac..500e36b 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/FileBase.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/FileBase.java @@ -38,7 +38,7 @@ public final class FileBase implements Sync, Closeable private static long counter = 0 ; private final long id ; - /** Create an FileBase withotu managed resources Use with case. */ + /** Create an FileBase without managed resources Use with case. */ static FileBase createUnmanged(String filename, FileChannel channel) { return new FileBase(filename, channel) ; } /** Create a Filebase with managed resources */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/base/page/PageBlockMgr.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/page/PageBlockMgr.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/page/PageBlockMgr.java index 47feced..6cd5459 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/page/PageBlockMgr.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/page/PageBlockMgr.java @@ -136,6 +136,6 @@ public class PageBlockMgr<T extends Page> /** 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() ; } } http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/base/record/RecordFactory.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/record/RecordFactory.java b/jena-tdb/src/main/java/org/apache/jena/tdb/base/record/RecordFactory.java index db4e4b7..cf6d268 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/record/RecordFactory.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/record/RecordFactory.java @@ -74,7 +74,7 @@ public class RecordFactory return create(key, v) ; } - /** Create a record, allocaing space for the key and value (if any) */ + /** Create a record, allocating space for the key and value (if any) */ public Record create() { return create(new byte[keyLength], (valueLength > 0) ? new byte[valueLength] : null) ; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/index/Index.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/index/Index.java b/jena-tdb/src/main/java/org/apache/jena/tdb/index/Index.java index bb29ade..37b2e7c 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/index/Index.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/index/Index.java @@ -49,7 +49,7 @@ public interface Index extends Iterable<Record>, Sync, Closeable /** Get the Record factory associated with this index */ public RecordFactory getRecordFactory() ; - /** Close the index - can't not be used again through this object */ + /** Close the index - can not be used again through this object */ @Override public void close() ; @@ -62,6 +62,6 @@ public interface Index extends Iterable<Record>, Sync, Closeable /** Perform checks on this index */ public void check() ; - /** Return size if known else return -1 : does not count the peristent storage */ + /** Return size if known else return -1 : does not count the persistent storage */ public long size() ; } http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPTreePage.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPTreePage.java b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPTreePage.java index c2eca9f..410a12b 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPTreePage.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPTreePage.java @@ -61,7 +61,7 @@ abstract public class BPTreePage implements Page */ abstract Record shiftLeft(BPTreePage other, Record splitKey) ; - /** Merge this (left) and the page imemdiately to it's right other into a single block + /** Merge this (left) and the page immediately to it's right other into a single block */ abstract BPTreePage merge(BPTreePage right, Record splitKey) ; //* Return the new page (may be left or right) @@ -90,10 +90,10 @@ abstract public class BPTreePage implements Page // /** Find the first page (supports iterators) */ // abstract BPTreeRecords findFirstPage() ; - /** Insert a record - return existing value if any, else null - put back modifed blocks */ + /** Insert a record - return existing value if any, else null - put back modified blocks */ abstract Record internalInsert(Record record) ; - /** Delete a record - return the old value if there was one, else null - put back modifed blocks */ + /** Delete a record - return the old value if there was one, else null - put back modified blocks */ abstract Record internalDelete(Record record) ; /** Least in page */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPlusTree.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPlusTree.java b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPlusTree.java index 28636be..beadcc2 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPlusTree.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/BPlusTree.java @@ -63,7 +63,7 @@ import org.slf4j.LoggerFactory ; * not when needed where a split can bubble up from below. * It means it only ever walks down the tree on insert. * Similarly, the delete code ensures a node is suitable - * before decending. + * before descending. * * Variations: * In this impl, splitRoot leaves the root node in place. @@ -142,7 +142,7 @@ public class BPlusTree implements Iterable<Record>, RangeIndex /** Create the in-memory structures to correspond to * the supplied block managers for the persistent storage. - * Does not inityalize the B+Tree - it assumes the block managers + * Does not initialize the B+Tree - it assumes the block managers * correspond to an existing B+Tree. */ public static BPlusTree attach(BPlusTreeParams params, BlockMgr blkMgrNodes, BlockMgr blkMgrRecords) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/RecordBufferPagePacker.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/RecordBufferPagePacker.java b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/RecordBufferPagePacker.java index 665b632..f842233 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/RecordBufferPagePacker.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/index/bplustree/RecordBufferPagePacker.java @@ -28,7 +28,7 @@ import org.apache.jena.tdb.base.recordbuffer.RecordBufferPageMgr ; /** Iterate over a stream of records, packing them into RecordBufferPage -- the leaf of a B+Tree * This class does not write the blocks back to the block manager. - * This cleass does allocate block ids and blocks. + * This class does allocate block ids and blocks. * @see RecordBufferPageLinker */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/lib/ColumnMap.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/lib/ColumnMap.java b/jena-tdb/src/main/java/org/apache/jena/tdb/lib/ColumnMap.java index dd0571b..e34b784 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/lib/ColumnMap.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/lib/ColumnMap.java @@ -70,7 +70,7 @@ public class ColumnMap * 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 lable and is not interpretted. + * The label is just a label and is not interpreted. */ public ColumnMap(String label, int...elements) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/lib/NodeLib.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/lib/NodeLib.java b/jena-tdb/src/main/java/org/apache/jena/tdb/lib/NodeLib.java index 8dce3f1..a4f6939 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/lib/NodeLib.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/lib/NodeLib.java @@ -83,7 +83,7 @@ public class NodeLib /** * Encode a node - it is better to use encodeStore which may avoid - * anadditional copy in getting the node into the ObjectFile + * an additional copy in getting the node into the ObjectFile */ public static ByteBuffer encode(Node node) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/mgt/TDBSystemInfoMBean.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/mgt/TDBSystemInfoMBean.java b/jena-tdb/src/main/java/org/apache/jena/tdb/mgt/TDBSystemInfoMBean.java index 8489efb..552f367 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/mgt/TDBSystemInfoMBean.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/mgt/TDBSystemInfoMBean.java @@ -38,7 +38,7 @@ public interface TDBSystemInfoMBean /** Size of NodeId to Node cache. * Used to map from NodeId to Node spaces. - * Used for retriveing results. + * Used for retrieving results. */ public int getNodeId2NodeCacheSize() ; http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/setup/StoreParamsDynamic.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/setup/StoreParamsDynamic.java b/jena-tdb/src/main/java/org/apache/jena/tdb/setup/StoreParamsDynamic.java index 10cc2c3..9023d49 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/setup/StoreParamsDynamic.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/setup/StoreParamsDynamic.java @@ -21,7 +21,7 @@ package org.apache.jena.tdb.setup; import org.apache.jena.tdb.base.block.FileMode ; /** Store parameters that can be adjusted after a store has been created, - * and given different values when the JVM attachs to a store area. + * and given different values when the JVM attaches to a store area. * (They are still fixed for any given database once created in a JVM.) */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/solver/StageMatchTuple.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/solver/StageMatchTuple.java b/jena-tdb/src/main/java/org/apache/jena/tdb/solver/StageMatchTuple.java index 6735373..b19fd32 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/solver/StageMatchTuple.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/solver/StageMatchTuple.java @@ -62,7 +62,7 @@ public class StageMatchTuple extends RepeatApplyIterator<BindingNodeId> /** Prepare a pattern (tuple of nodes), and an existing binding of NodeId, into NodeIds and Variables. * A variable in the pattern is replaced by its binding or null in the Nodeids. * A variable that is not bound by the binding is placed in the var array. - * Return false if preparation detechs the pattern can not match. + * Return false if preparation detects the pattern can not match. */ public static boolean prepare(NodeTable nodeTable, Tuple<Node> patternTuple, BindingNodeId input, NodeId ids[], Var[] var) { http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTxnTDB.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTxnTDB.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTxnTDB.java index 308a21c..c79b42a 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTxnTDB.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTxnTDB.java @@ -27,7 +27,7 @@ import org.apache.jena.tdb.transaction.DatasetGraphTransaction ; /** * Transaction version of {@link GraphTDB}. - * Valid across transactions excep where noted. + * Valid across transactions except where noted. * * @see GraphTDB * @see GraphTxnTDB http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/store/NodeId.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/NodeId.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/NodeId.java index 5774f0d..92cebd6 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/NodeId.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/NodeId.java @@ -186,7 +186,7 @@ public class NodeId XSDDatatype.XSDboolean } ; - /** Return true if this node has a datatype that look sliek it is inlineable. + /** Return true if this node has a datatype that looks like it is inlineable. * The node may still be out of range (e.g. very large integer). * Only inline(Node)->NodeId can determine that. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetable/NodeTable.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetable/NodeTable.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetable/NodeTable.java index 1fb6860..a692a5e 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetable/NodeTable.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetable/NodeTable.java @@ -27,7 +27,7 @@ import org.apache.jena.graph.Node ; import org.apache.jena.tdb.store.NodeId ; /** Node table - conceptually a two way mapping of Node<->NodeId - * where Nodes can be staored and a NodeId allocated + * where Nodes can be stored and a NodeId allocated * @see NodeId */ @@ -51,7 +51,7 @@ public interface NodeTable extends Sync, Closeable /** Iterate over all nodes (not necessarily fast). Does not include inlined NodeIds */ public Iterator<Pair<NodeId, Node>> all() ; - /** The offset needed to predicate allocation difference between peristent tables - internal function */ + /** The offset needed to predicate allocation difference between persistent tables - internal function */ public NodeId allocOffset() ; /** Anything there? */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetupletable/NodeTupleTableConcrete.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetupletable/NodeTupleTableConcrete.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetupletable/NodeTupleTableConcrete.java index c90547d..b05b90e 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetupletable/NodeTupleTableConcrete.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/nodetupletable/NodeTupleTableConcrete.java @@ -192,7 +192,7 @@ public class NodeTupleTableConcrete implements NodeTupleTable // ==== Accessors /** - * Return the undelying tuple table - used with great care by tools that + * Return the underlying tuple table - used with great care by tools that * directly manipulate internal structures. */ @Override http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/store/tupletable/TupleTable.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/tupletable/TupleTable.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/tupletable/TupleTable.java index 40cc878..399a972 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/tupletable/TupleTable.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/tupletable/TupleTable.java @@ -255,13 +255,13 @@ public class TupleTable implements Sync, Closeable /** Get i'th index */ public TupleIndex getIndex(int i) { return indexes[i] ; } - /** Get all indexes - for code that maipulates internal structures directly - use with care */ + /** Get all indexes - for code that manipulates internal structures directly - use with care */ public TupleIndex[] getIndexes() { return indexes ; } /** Get the width of tuples in indexes in this table */ public int getTupleLen() { return tupleLen ; } - /** Set index - for code that maipulates internal structures directly - use with care */ + /** Set index - for code that manipulates internal structures directly - use with care */ public void setTupleIndex(int i, TupleIndex index) { if ( index != null && index.getTupleLength() != tupleLen ) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java index df6ac27..51a4bea 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/DatasetGraphTransaction.java @@ -38,7 +38,7 @@ import org.apache.jena.tdb.store.GraphTxnTDB ; /** * A transactional {@code DatasetGraph} that allows one active transaction per thread. * - * {@link DatasetGraphTxn} holds the {~link Trasnaction} object. + * {@link DatasetGraphTxn} holds the {~link Transaction} object. * * This is analogous to a "connection" in JDBC. * It is a holder of a {@link StoreConnection} combined with the machinary from http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/JournalControl.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/JournalControl.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/JournalControl.java index 748149e..9fe510c 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/JournalControl.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/JournalControl.java @@ -165,7 +165,7 @@ public class JournalControl } /** Recover one transaction from the start position given. - * Scan to see if theer is a commit; if found, play the + * Scan to see if there is a commit; if found, play the * journal from the start point to the commit. * Return true is a commit was found. * Leave journal positioned just after commit or at end if none found. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTrans.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTrans.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTrans.java index d88ea1e..13d60b4 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTrans.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTrans.java @@ -22,10 +22,10 @@ import org.apache.jena.tdb.base.objectfile.ObjectFile ; import org.apache.jena.tdb.base.objectfile.ObjectFileWrapper ; /** Add transactionality control to an ObjectFile. - * ObjectFiles are "append only" so with a single rwiter environment, + * ObjectFiles are "append only" so with a single writer environment, * we just need to manage a reset on abort. * A crash in a transaction will accumulate some junk in the file. - * This is now a trandeoff of speed and space. + * This is now a tradeoff of speed and space. * * Speed : append to the original file directly and tolerate junk. * @@ -61,4 +61,4 @@ class ObjectFileTrans extends ObjectFileWrapper implements TransactionLifecycle @Override public void commitClearup(Transaction txn) {} -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTransComplex.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTransComplex.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTransComplex.java index 59b7d83..cca941e 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTransComplex.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/ObjectFileTransComplex.java @@ -30,7 +30,7 @@ import org.apache.jena.tdb.base.file.FileException ; import org.apache.jena.tdb.base.objectfile.ObjectFile ; /** - * This version works with two files - the main, base file and a per-transction journal + * This version works with two files - the main, base file and a per-transaction journal * file. It writes to the journal side. * * To flush, it writes the journal to the base file. http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/Transaction.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/Transaction.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/Transaction.java index 61859f8..68891c1 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/Transaction.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/Transaction.java @@ -259,7 +259,7 @@ public class Transaction throw throwThis; } - /** A write transaction has been processed and all chanages propagated back to the database */ + /** A write transaction has been processed and all changes propagated back to the database */ /*package*/ void signalEnacted() { synchronized (this) http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionLifecycle.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionLifecycle.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionLifecycle.java index 239d8cd..4911b06 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionLifecycle.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionLifecycle.java @@ -18,7 +18,7 @@ package org.apache.jena.tdb.transaction; -/** Interface that components of the transaction system implmement. +/** Interface that components of the transaction system implement. * This is not the public/application interface to transactions. */ public interface TransactionLifecycle http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionManager.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionManager.java b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionManager.java index c87b977..bd3008a 100644 --- a/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionManager.java +++ b/jena-tdb/src/main/java/org/apache/jena/tdb/transaction/TransactionManager.java @@ -570,7 +570,7 @@ public class TransactionManager /** Block until no writers are active. * When this returns, it guarantees that the database is not changing - * and the jounral is flush to disk. + * and the journal is flush to disk. * <p> * The application must call {@link #enableWriters} later. * <p> http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-text-es/src/main/java/org/apache/jena/query/text/es/TextIndexES.java ---------------------------------------------------------------------- diff --git a/jena-text-es/src/main/java/org/apache/jena/query/text/es/TextIndexES.java b/jena-text-es/src/main/java/org/apache/jena/query/text/es/TextIndexES.java index b433a98..30bdcfc 100644 --- a/jena-text-es/src/main/java/org/apache/jena/query/text/es/TextIndexES.java +++ b/jena-text-es/src/main/java/org/apache/jena/query/text/es/TextIndexES.java @@ -199,7 +199,7 @@ public class TextIndexES implements TextIndex { } /** - * We don't have resources that need to be closed explicitely + * We don't have resources that need to be closed explicitly */ @Override public void close() { @@ -208,7 +208,7 @@ public class TextIndexES implements TextIndex { } /** - * Update an Entity. Since we are doing Upserts in add entity anyways, we simply call {@link #addEntity(Entity)} + * Update an Entity. Since we are doing Upserts in add entity anyway, we simply call {@link #addEntity(Entity)} * method that takes care of updating the Entity as well. * @param entity the entity to update. */ http://git-wip-us.apache.org/repos/asf/jena/blob/3f371dfa/jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java ---------------------------------------------------------------------- diff --git a/jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java b/jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java index 8a684c4..170337a 100644 --- a/jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java +++ b/jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java @@ -296,7 +296,7 @@ public class TextQueryPF extends PropertyFunctionBase { } /** Deconstruct the node or list object argument and make a StrMatch - * The 'executionTime' flag indciates whether this is for a build time + * The 'executionTime' flag indicates whether this is for a build time * static check, or for runtime execution. */ private StrMatch objectToStruct(PropFuncArg argObject, boolean executionTime) {
