[multiple changes]
2004-10-18 Michael Koch <konqueror@gmx.de> * java/lang/reflect/Proxy.java: Improved javadocs. 2004-10-18 Michael Koch <konqueror@gmx.de> * java/lang/reflect/AccessibleObject.java (checkPermission): Removed redundant final modifier. (secureSetAccessible): Likewise. * java/lang/reflect/Proxy.java: Reworked import statements. (generate): Removed redundant final modifier. * java/lang/reflect/ReflectPermission.java: Reorder package declaration and import statement. 2004-10-18 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/Proxy.java (count): Removed useless initializer. From-SVN: r89201
This commit is contained in:
parent
cc6e67d442
commit
7b040d4c07
4 changed files with 41 additions and 20 deletions
|
@ -133,7 +133,7 @@ public class AccessibleObject
|
|||
*
|
||||
* @throws SecurityException if permission is denied
|
||||
*/
|
||||
private static final void checkPermission()
|
||||
private static void checkPermission()
|
||||
{
|
||||
SecurityManager sm = System.getSecurityManager();
|
||||
if (sm != null)
|
||||
|
@ -148,7 +148,7 @@ public class AccessibleObject
|
|||
* @throws SecurityException if flag is true and this is a constructor
|
||||
* for <code>java.lang.Class</code>.
|
||||
*/
|
||||
private final void secureSetAccessible(boolean flag)
|
||||
private void secureSetAccessible(boolean flag)
|
||||
{
|
||||
if (flag &&
|
||||
(this instanceof Constructor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue