diff options
Diffstat (limited to 'libjava/classpath/java/security/acl')
-rw-r--r-- | libjava/classpath/java/security/acl/Acl.java | 4 | ||||
-rw-r--r-- | libjava/classpath/java/security/acl/AclEntry.java | 4 | ||||
-rw-r--r-- | libjava/classpath/java/security/acl/Group.java | 2 | ||||
-rw-r--r-- | libjava/classpath/java/security/acl/Owner.java | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libjava/classpath/java/security/acl/Acl.java b/libjava/classpath/java/security/acl/Acl.java index 6a3f7d52a87..10a59fdf507 100644 --- a/libjava/classpath/java/security/acl/Acl.java +++ b/libjava/classpath/java/security/acl/Acl.java @@ -50,7 +50,7 @@ import java.util.Enumeration; * denied, the ACL treats it as if it were never granted or denied. If * both a <code>Principal</code> and a <code>Group</code> to which the * <code>Principal</code> belongs have an ACL entry, the permissions for - * the individual <code>Principal</code> take precedence over the + * the individual <code>Principal</code> take precedence over the * permissions of the <code>Group</code> if there is a conflict. * <p> * Additionally, the ACL interface extends the <code>Owner</code> interface @@ -94,7 +94,7 @@ public interface Acl extends Owner * * @exception NotOwnerException If the caller is not an owner of this ACL. */ - boolean addEntry(Principal caller, AclEntry entry) + boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException; /** diff --git a/libjava/classpath/java/security/acl/AclEntry.java b/libjava/classpath/java/security/acl/AclEntry.java index ea906f184d8..47154b28591 100644 --- a/libjava/classpath/java/security/acl/AclEntry.java +++ b/libjava/classpath/java/security/acl/AclEntry.java @@ -42,10 +42,10 @@ import java.util.Enumeration; /** * This interface models an entry in an access control list (ACL). Java - * ACL's consist of a list of entries, where each consists of a + * ACL's consist of a list of entries, where each consists of a * <code>Principal</code> and a list of <code>Permission</code>'s which * have been granted to that <code>Principal</code>. An ACL can also - * be <em>negative</em>, which indicates that the list of + * be <em>negative</em>, which indicates that the list of * <code>Permission</code>'s is a list of permissions that are <em>not</em> * granted to the <code>Principal</code>. A <code>Principal</code> can * have at most one regular (or positive) ACL entry and one negative diff --git a/libjava/classpath/java/security/acl/Group.java b/libjava/classpath/java/security/acl/Group.java index ed6d56a572e..a0df75526c5 100644 --- a/libjava/classpath/java/security/acl/Group.java +++ b/libjava/classpath/java/security/acl/Group.java @@ -81,7 +81,7 @@ public interface Group extends Principal boolean isMember(Principal member); /** - * This method returns a list of all members of the group as an + * This method returns a list of all members of the group as an * <code>Enumeration</code>. * * @return The list of all members of the group diff --git a/libjava/classpath/java/security/acl/Owner.java b/libjava/classpath/java/security/acl/Owner.java index df1605b2e4f..c671cd362a6 100644 --- a/libjava/classpath/java/security/acl/Owner.java +++ b/libjava/classpath/java/security/acl/Owner.java @@ -64,7 +64,7 @@ public interface Owner * * @exception NotOwnerException If the caller is not already an owner of this ACL */ - boolean addOwner(Principal caller, Principal owner) + boolean addOwner(Principal caller, Principal owner) throws NotOwnerException; /** @@ -82,7 +82,7 @@ public interface Owner * @exception NotOwnerException If the caller is not already an owner of this ACL * @exception LastOwnerException If completing the operation would delete the last ACL owner */ - boolean deleteOwner(Principal caller, Principal owner) + boolean deleteOwner(Principal caller, Principal owner) throws NotOwnerException, LastOwnerException; /** |