Fix typos in documentations.
Fix typos in READMEs, javadoc, comments and code. Original pull request #642
This commit is contained in:
committed by
Jens Schauder
parent
1aec184ff0
commit
ce994f9ea0
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user