Fix typos in documentations.

Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
This commit is contained in:
Marc Wrobel
2022-07-18 16:43:44 +02:00
committed by Jens Schauder
parent 1aec184ff0
commit ce994f9ea0
57 changed files with 83 additions and 83 deletions

View File

@@ -1,14 +1,14 @@
Spring Data For GemFire and Apache Geode Examples
=========================================================
This project provides a number of examples to get you started using Spring Data for Apache Geode or Pivotal GemFire. These examples are designed to work with [Spring Data for Pivotal GemFire](http://projects.spring.io/spring-data-gemfire) 2.0.9-RELEASE or higher and are organized into the following sub projects:
This project provides a number of examples to get you started using Spring Data for Apache Geode or Pivotal GemFire. These examples are designed to work with [Spring Data for Pivotal GemFire](http://projects.spring.io/spring-data-gemfire) 2.0.9-RELEASE or higher and are organized into the following subprojects:
It is important to note that all examples will follow the prescribed Maven directory structure.
Examples:
* **events** - In this example the test will make use of event handlers and async event queue to handle events.
* **expiration-eviction** - In these examples the server is configured to delete entries after a certain idle period or after a Time-To-Live period (expiration0 or remove data from memory when certain thresholds are reached (eviction).
* **expiration-eviction** - In these examples the server is configured to delete entries after a certain idle period or after a Time-To-Live period (expiration) or remove data from memory when certain thresholds are reached (eviction).
* **function-invocation** - In this example the server will have 3 functions registered. The client will invoke each of the functions.
* **queries** - In this example a client will query the data in various ways using OQl, continuous queries, and Apache Lucene indexes.
* **security** - In this example the servers and clients are set up with security (username/password) authentication using Geode Security and Apache Shiro.
@@ -19,4 +19,4 @@ Examples:
# Running The Examples
Each example has at least one test file located in the test directory. The examples are driven by the tests, so simply run the test either through your IDE or via the commandline.
The logging level of the examples is set to "error", so there will be no output. To see output, simply find the `logback.xml` file located in src/test/resources and set the loglevel to "info".
The logging level of the examples is set to "error", so there will be no output. To see output, simply find the `logback.xml` file located in src/test/resources and set the loglevel to "info".

View File

@@ -23,7 +23,7 @@ import java.io.Serializable;
import java.math.BigDecimal;
/**
* OrderProductSummary is an object used in the examples to show a summary of all Orders on a per product basis, on a per
* OrderProductSummary is an object used in the examples to show a summary of all Orders on a per-product basis, on a per
* timeframe shard (every 10s, or every 1hr)
*
* @author Udo Kohlmeyer

View File

@@ -82,7 +82,7 @@ public class Role implements Comparable<Role>, Iterable<ResourcePermission>, Ser
}
/**
* Adds (assigns/grants) all given [persmissions][ResourcePermission] to this [Role].
* Adds (assigns/grants) all given [permissions][ResourcePermission] to this [Role].
*
* @param permissions [ResourcePermission]s to assign/grant to this [Role].
* @return this [Role].
@@ -94,13 +94,13 @@ public class Role implements Comparable<Role>, Iterable<ResourcePermission>, Ser
}
/**
* Adds (assigns/grants) all given [persmissions][ResourcePermission] to this [Role].
* Adds (assigns/grants) all given [permissions][ResourcePermission] to this [Role].
*
* @param permissions [ResourcePermission]s to assign/grant to this [Role].
* @return this [Role].
* @see ResourcePermission
*/
public Role withPersmissions(Iterable<ResourcePermission> permissions) {
public Role withPermissions(Iterable<ResourcePermission> permissions) {
this.permissions.addAll((Collection<? extends ResourcePermission>) permissions);
return this;
}

View File

@@ -79,7 +79,7 @@ public class User implements Comparable<User>, Cloneable, Principal, Serializabl
/**
* Determines whether this [User] has been granted (assigned) the given [permission][ResourcePermission].
*
* @param permission [ResourcePermission] to evalute.
* @param permission [ResourcePermission] to evaluate.
* @return a boolean value indicating whether this [User] has been granted (assigned) the given [ResourcePermission].
* @see ResourcePermission
*/

View File

@@ -42,7 +42,7 @@ public class SecurityManagerProxy extends LazyWiringDeclarableSupport
private org.apache.geode.security.SecurityManager securityManager;
/**
* Constructs an instance of the {@link SecurityManagerProxy}, whick will delegate all Apache Geode security
* Constructs an instance of the {@link SecurityManagerProxy}, which will delegate all Apache Geode security
* operations to a Spring managed {@link org.apache.geode.security.SecurityManager} bean.
*/
public SecurityManagerProxy() {