Permissions.java (perms): Now package-private.

* java/security/Permissions.java (perms): Now package-private.
	* java/security/UnresolvedPermission.java (permissions): Now
	package-private.

From-SVN: r90202
This commit is contained in:
Tom Tromey 2004-11-06 23:11:47 +00:00 committed by Tom Tromey
parent d28f307870
commit 96859aa470
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-11-06 Tom Tromey <tromey@redhat.com>
* java/security/Permissions.java (perms): Now package-private.
* java/security/UnresolvedPermission.java (permissions): Now
package-private.
2004-11-06 Tom Tromey <tromey@redhat.com>
* java/io/FilePermission.java: Reindented.

View File

@ -72,12 +72,13 @@ public final class Permissions extends PermissionCollection
*/
private PermissionCollection allPermission;
// Package-private to avoid a trampoline.
/**
* This is the <code>Hashtable</code> that contains our collections.
*
* @serial maps Class to PermissionCollection
*/
private final Hashtable perms = new Hashtable();
final Hashtable perms = new Hashtable();
/**
* This method initializes a new instance of <code>Permissions</code>.

View File

@ -216,13 +216,14 @@ class UnresolvedPermissionCollection extends PermissionCollection
*/
private static final long serialVersionUID = -7176153071733132400L;
// Package-private to avoid a trampoline.
/**
* Hashtable where we store permissions.
*
* @serial map of typename to a Vector of permissions (you'd think Sun
* would document this better!)
*/
private final Hashtable permissions = new Hashtable();
final Hashtable permissions = new Hashtable();
/**
* Add a permission.