harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r546452 - /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java
Date Tue, 12 Jun 2007 10:44:46 GMT
Author: odeakin
Date: Tue Jun 12 03:44:44 2007
New Revision: 546452

URL: http://svn.apache.org/viewvc?view=rev&rev=546452
Log:
Apply patch HARMONY-4092 ([classlib] [security] Javadoc update for java.security.BasicPermissionCollection)

Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java?view=diff&rev=546452&r1=546451&r2=546452
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/BasicPermissionCollection.java
Tue Jun 12 03:44:44 2007
@@ -146,20 +146,17 @@
     }
 
     /**
-     * Expected format is the following:
-     * <dl>
-     * <dt>boolean all_allowed
-     * <dd>This is set to true if this BasicPermissionCollection contains a
-     * BasicPermission with '*' as its permission name.
-     * <dt>Class&lt;T&gt; permClass
-     * <dd>The class to which all BasicPermissions in this
-     * BasicPermissionCollection belongs.
-     * <dt>Hashtable&lt;K,V&gt; permissions
-     * <dd>The BasicPermissions in this BasicPermissionCollection. All
-     * BasicPermissions in the collection must belong to the same class. The
-     * Hashtable is indexed by the BasicPermission name; the value of the
-     * Hashtable entry is the permission.
-     * </dl>
+     * Writes the object to the given stream for serialization.
+     * 
+     * The following fields are stored via an ObjectOutputStream.PutField,
+     * obtained by calling putFields() on the given output stream, in order to
+     * comply with the serialized form specification for this class:
+     * 
+     * <code>boolean all_allowed</code>, set to <code>allEnabled</code>
+     * <code>Hashtable permissions</code>,
+     * set to <code>items</code>
+     * <code>Class permClass</code>, set to
+     * <code>permClass</code>
      */
     private void writeObject(java.io.ObjectOutputStream out) throws IOException {
         ObjectOutputStream.PutField fields = out.putFields();



Mime
View raw message