You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by to...@apache.org on 2021/03/19 15:56:00 UTC

[db-jdo-site] branch master updated: Fix typos

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

tobous pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git


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

commit a1ae4c7258338156f06a09e2f1902ba0de2281e1
Author: Tobias Bouschen <to...@googlemail.com>
AuthorDate: Thu Mar 18 20:36:40 2021 +0100

    Fix typos
---
 src/main/asciidoc/annotations.adoc   |  2 +-
 src/main/asciidoc/glossary.adoc      |  8 ++++----
 src/main/asciidoc/jdohelper.adoc     |  2 +-
 src/main/asciidoc/jdoql_methods.adoc | 10 +++++-----
 src/main/asciidoc/jdoql_result.adoc  |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/asciidoc/annotations.adoc b/src/main/asciidoc/annotations.adoc
index f7d60ac..5079a3a 100644
--- a/src/main/asciidoc/annotations.adoc
+++ b/src/main/asciidoc/annotations.adoc
@@ -105,7 +105,7 @@ secondary tables from this table
 table from this table
 
 |xref:Columns[@Columns] |Class |ORM : Defines a series of columns that
-dont have associated fields ("unmapped columns")
+don't have associated fields ("unmapped columns")
 
 |xref:Persistent[@Persistent] |Field/Method |Defines the persistence
 for a field/property of the class
diff --git a/src/main/asciidoc/glossary.adoc b/src/main/asciidoc/glossary.adoc
index dc3b3b5..b9f103c 100644
--- a/src/main/asciidoc/glossary.adoc
+++ b/src/main/asciidoc/glossary.adoc
@@ -38,8 +38,8 @@ object is retrieved from the datastore its fields can be retrieved with
 it, or optionally can be retrieved only when needed. If a field is in
 the *default-fetch-group* it will be retrieved when the object is
 retrieved. Some field types default to being in the
-*default-fetch-group* (e.g primitives, wrappers to primtives,
-java.util.Date) and others (e.g java.util.Set, java.util.List) don't.
+*default-fetch-group* (e.g. primitives, wrappers to primitives,
+java.util.Date) and others (e.g. java.util.Set, java.util.List) don't.
 
 |anchor:embedded[]embedded |A field can be defined as embedded if it will
 be stored as a column in the table of its containing object.
@@ -94,7 +94,7 @@ if not, removes them from persistence.
 |anchor:persistence-aware[]persistence-aware |When an class needs to
 access fields of a persistence capable class directly, it should be
 enhanced, and is referred to as "Persistence Aware". If a class uses
-field accessor methods then it doesnt need to become "Persistence
+field accessor methods then it doesn't need to become "Persistence
 Aware".
 
 |anchor:persistence-capable[]persistence-capable (PC) |When an class is
@@ -114,7 +114,7 @@ persistence capable fields, etc are by default persistent).
 is persistent in a datastore.
 
 |anchor:pessimistic-transaction[]pessimistic transaction |This is the
-default transaction type in JDO, and is suitable for shortlived
+default transaction type in JDO, and is suitable for short-lived
 operations where there is no other blocking activity during the
 transaction. When data is accessed other transactions are locked out
 from accessing it until the transaction is complete. See also
diff --git a/src/main/asciidoc/jdohelper.adoc b/src/main/asciidoc/jdohelper.adoc
index a060586..06d776b 100644
--- a/src/main/asciidoc/jdohelper.adoc
+++ b/src/main/asciidoc/jdohelper.adoc
@@ -50,7 +50,7 @@ Now we move onto the operations for persistence.
 * *getPersistenceManager(Object pc)* - returns the PersistenceManager
 associated with the passed object (if any)
 * *makeDirty(Object pc, String fieldName)* - marks the field of the
-passed object as dirty (meaning that it needs updating in ther
+passed object as dirty (meaning that it needs updating in its
 datastore)
 * *getObjectId(Object pc)* - returns the object identity for the passed
 object (if persistent)
diff --git a/src/main/asciidoc/jdoql_methods.adoc b/src/main/asciidoc/jdoql_methods.adoc
index 098494b..7e3b125 100644
--- a/src/main/asciidoc/jdoql_methods.adoc
+++ b/src/main/asciidoc/jdoql_methods.adoc
@@ -38,22 +38,22 @@ the passed position
 
 |toLowerCase() |Returns the string in lowercase
 
-|toUpperCase() |Retuns the string in UPPERCASE
+|toUpperCase() |Returns the string in UPPERCASE
 
 |matches(String pattern) |Returns whether string matches the passed
 expression. The pattern argument follows the rules of
 java.lang.String.matches method.
 
-|trim() |Retuns the string with leading/trailing spaces trimmed
+|trim() |Returns the string with leading/trailing spaces trimmed
 
-|length() |Retuns the length of the string
+|length() |Returns the length of the string
 
 |charAt(int) |Returns the character at the specified position of the
 string
 |===
 
-Here's an example using a Product class, looking for objects which their
-abreviation is the beginning of a trade name. The trade name is provided
+Here's an example using a Product class, looking for objects whose
+abbreviation is the beginning of a trade name. The trade name is provided
 as parameter.
 
 ....
diff --git a/src/main/asciidoc/jdoql_result.adoc b/src/main/asciidoc/jdoql_result.adoc
index fe2dc48..672d474 100644
--- a/src/main/asciidoc/jdoql_result.adoc
+++ b/src/main/asciidoc/jdoql_result.adoc
@@ -41,7 +41,7 @@ What you specify in the _result_ defines what form of result you get
 back.
 
 * *Object* - this is returned if you have only a single row in the
-results and a single column. This is achived when you specified either
+results and a single column. This is achieved when you specified either
 UNIQUE, or just an aggregate (e.g "max(field2)")
 * *Object[]* - this is returned if you have only a single row in the
 results, but more than 1 column (e.g "max(field1), avg(field2)")