commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1234343 - in /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2: DefaultClassAccessor.java MakeAccessiblePrivilegedAction.java PrivilegedAccessibleAction.java
Date Sat, 21 Jan 2012 15:15:56 GMT
Author: simonetripodi
Date: Sat Jan 21 15:15:55 2012
New Revision: 1234343

URL: http://svn.apache.org/viewvc?rev=1234343&view=rev
Log:
refactored privileged action class name

Added:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MakeAccessiblePrivilegedAction.java
      - copied, changed from r1234342, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PrivilegedAccessibleAction.java
Removed:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PrivilegedAccessibleAction.java
Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java?rev=1234343&r1=1234342&r2=1234343&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
Sat Jan 21 15:15:55 2012
@@ -20,7 +20,7 @@ package org.apache.commons.beanutils2;
 import static java.lang.reflect.Modifier.isPublic;
 import static org.apache.commons.beanutils2.Argument.getParameterTypes;
 import static org.apache.commons.beanutils2.Assertions.checkNotNull;
-import static org.apache.commons.beanutils2.PrivilegedAccessibleAction.makeAccessible;
+import static org.apache.commons.beanutils2.MakeAccessiblePrivilegedAction.makeAccessible;
 import static org.apache.commons.beanutils2.TypeUtils.isAssignmentCompatible;
 
 import java.lang.reflect.Constructor;

Copied: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MakeAccessiblePrivilegedAction.java
(from r1234342, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PrivilegedAccessibleAction.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MakeAccessiblePrivilegedAction.java?p2=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MakeAccessiblePrivilegedAction.java&p1=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PrivilegedAccessibleAction.java&r1=1234342&r2=1234343&rev=1234343&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PrivilegedAccessibleAction.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MakeAccessiblePrivilegedAction.java
Sat Jan 21 15:15:55 2012
@@ -25,13 +25,13 @@ import static java.security.AccessContro
 import java.lang.reflect.AccessibleObject;
 import java.security.PrivilegedAction;
 
-final class PrivilegedAccessibleAction<T extends AccessibleObject>
+final class MakeAccessiblePrivilegedAction<T extends AccessibleObject>
     implements PrivilegedAction<T>
 {
 
     public static <T extends AccessibleObject> T makeAccessible( T accessibleObject
)
     {
-        PrivilegedAccessibleAction<T> action = new PrivilegedAccessibleAction<T>(
accessibleObject );
+        MakeAccessiblePrivilegedAction<T> action = new MakeAccessiblePrivilegedAction<T>(
accessibleObject );
         if ( getSecurityManager() != null )
         {
             return doPrivileged( action );
@@ -44,7 +44,7 @@ final class PrivilegedAccessibleAction<T
     /**
      * hidden constructor, this class cannot be instantiated directly
      */
-    private PrivilegedAccessibleAction( T accessibleObject )
+    private MakeAccessiblePrivilegedAction( T accessibleObject )
     {
         this.accessibleObject = accessibleObject;
     }



Mime
View raw message