diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 19:00:07 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 19:00:07 +0000 |
commit | d3d22a6a9f061b1903c6ec839ee1acaca063a23e (patch) | |
tree | 2af671e2772212be2424269d3f7cca08b3fe5238 /libjava/java/security/acl/Acl.java | |
parent | 92bd88b4f48c77bf7b44fec48e0a3886af89b68d (diff) | |
download | ppe42-gcc-d3d22a6a9f061b1903c6ec839ee1acaca063a23e.tar.gz ppe42-gcc-d3d22a6a9f061b1903c6ec839ee1acaca063a23e.zip |
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/security/Key.java,
* java/security/PrivateKey.java,
* java/security/PublicKey.java,
* java/security/acl/Acl.java,
* java/security/acl/AclEntry.java,
* java/security/acl/Group.java,
* java/security/acl/Owner.java,
* java/security/acl/Permission.java,
* java/security/cert/X509Extension.java,
* java/security/interfaces/DSAKey.java,
* java/security/interfaces/DSAKeyPairGenerator.java,
* java/security/interfaces/DSAParams.java,
* java/security/interfaces/DSAPrivateKey.java,
* java/security/interfaces/DSAPublicKey.java,
* java/security/interfaces/RSAKey.java,
* java/security/interfaces/RSAPrivateCrtKey.java,
* java/security/interfaces/RSAPrivateKey.java,
* java/security/interfaces/RSAPublicKey.java:
Removed redundant modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security/acl/Acl.java')
-rw-r--r-- | libjava/java/security/acl/Acl.java | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/libjava/java/security/acl/Acl.java b/libjava/java/security/acl/Acl.java index 07d07ecd4a4..4229c92ddb7 100644 --- a/libjava/java/security/acl/Acl.java +++ b/libjava/java/security/acl/Acl.java @@ -69,7 +69,7 @@ public interface Acl extends Owner * * @return The name of this ACL */ - public abstract String getName(); + String getName(); /** * This method sets the name of the ACL @@ -79,7 +79,7 @@ public interface Acl extends Owner * * @exception NotOwnerException If the caller is not an owner of this ACL. */ - public abstract void setName(Principal caller, String name) + void setName(Principal caller, String name) throws NotOwnerException; /** @@ -88,11 +88,13 @@ public interface Acl extends Owner * @param caller The <code>Principal</code> requesting the addition * @param entry The ACL entry to add * - * @return <code>true</code> if the entry was added, <code>false</code> if there is already an entry of the same type for the <code>Principal</code>. + * @return <code>true</code> if the entry was added, <code>false</code> + * if there is already an entry of the same type for the + * <code>Principal</code>. * * @exception NotOwnerException If the caller is not an owner of this ACL. */ - public abstract boolean addEntry(Principal caller, AclEntry entry) + boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException; /** @@ -101,11 +103,12 @@ public interface Acl extends Owner * @param caller The <code>Principal</code> requesting the deletion. * @param entry The ACL entry to delete * - * @return <code>true</code> if the entry was deleted, or <code>false</code> if this entry was not part of the ACL to begin with + * @return <code>true</code> if the entry was deleted, or <code>false</code> + * if this entry was not part of the ACL to begin with * * @exception NotOwnerException If the caller is not an owner of this ACL. */ - public abstract boolean removeEntry(Principal caller, AclEntry entry) + boolean removeEntry(Principal caller, AclEntry entry) throws NotOwnerException; /** @@ -114,7 +117,7 @@ public interface Acl extends Owner * * @return An enumeration of the ACL entries */ - public abstract Enumeration entries(); + Enumeration entries(); /** * This method tests whether or not the specified <code>Principal</code> @@ -123,9 +126,10 @@ public interface Acl extends Owner * @param user The <code>Principal</code> to test * @param perm The <code>Permission</code> to test for * - * @return <code>true</code> if the user has been granted the permission, <code>false</code> otherwise + * @return <code>true</code> if the user has been granted the permission, + * <code>false</code> otherwise */ - public abstract boolean checkPermission(Principal user, Permission perm); + boolean checkPermission(Principal user, Permission perm); /** * This method returns a list of <code>Permission</code>'s that are granted @@ -138,12 +142,12 @@ public interface Acl extends Owner * * @return A list of permissions for the <code>Principal</code>. */ - public abstract Enumeration getPermissions(Principal user); + Enumeration getPermissions(Principal user); /** * This method returns the ACL as a <code>String</code> * * @return A <code>String</code> representation of this ACL */ - public abstract String toString(); + String toString(); } |