commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog java/security/UnresolvedPer...


From: Tom Tromey
Subject: [commit-cp] classpath ChangeLog java/security/UnresolvedPer...
Date: Tue, 06 Jun 2006 18:27:44 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Tom Tromey <tromey>     06/06/06 18:27:44

Modified files:
        .              : ChangeLog 
        java/security  : UnresolvedPermission.java 

Log message:
                * java/security/UnresolvedPermission.java (getUnresolvedType): 
New
                method.
                (getUnresolvedName): New method.
                (getUnresolvedActions): New method.
                (getUnresolvedCerts): New method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7684&r2=1.7685
http://cvs.savannah.gnu.org/viewcvs/classpath/java/security/UnresolvedPermission.java?cvsroot=classpath&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7684
retrieving revision 1.7685
diff -u -b -r1.7684 -r1.7685
--- ChangeLog   6 Jun 2006 17:26:21 -0000       1.7684
+++ ChangeLog   6 Jun 2006 18:27:43 -0000       1.7685
@@ -1,3 +1,11 @@
+2006-06-06  Tom Tromey  <address@hidden>
+
+       * java/security/UnresolvedPermission.java (getUnresolvedType): New
+       method.
+       (getUnresolvedName): New method.
+       (getUnresolvedActions): New method.
+       (getUnresolvedCerts): New method.
+
 2006-06-06  Audrius Meskauskas  <address@hidden>
 
        * gnu/javax/swing/text/html/CharacterAttributeTranslator.java

Index: java/security/UnresolvedPermission.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/security/UnresolvedPermission.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- java/security/UnresolvedPermission.java     2 Jul 2005 20:32:40 -0000       
1.11
+++ java/security/UnresolvedPermission.java     6 Jun 2006 18:27:44 -0000       
1.12
@@ -201,6 +201,47 @@
   {
     return new UnresolvedPermissionCollection();
   }
+
+  /**
+   * Return the name of the class of the unresolved permission.
+   * @since 1.5
+   */
+  public String getUnresolvedType()
+  {
+    return type;
+  }
+
+  /**
+   * Return the name of the unresolved permission.
+   * @since 1.5
+   */
+  public String getUnresolvedName()
+  {
+    return name;
+  }
+
+  /**
+   * Return the actions of the unresolved permission, or null
+   * if there are no actions.
+   * @since 1.5
+   */
+  public String getUnresolvedActions()
+  {
+    return actions;
+  }
+
+  /**
+   * Return the certificates of the unresolved permission.
+   * If there are no certificates, null is returned.  Otherwise,
+   * a new array is returned.
+   * @since 1.5
+   */
+  public Certificate[] getUnresolvedCerts()
+  {
+    if (certs == null)
+      return null;
+    return (Certificate[]) certs.clone();
+  }
 } // class UnresolvedPermission
 
 /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]