You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/01/21 22:13:58 UTC
svn commit: r1234418 -
/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java
Author: simonetripodi
Date: Sat Jan 21 21:13:58 2012
New Revision: 1234418
URL: http://svn.apache.org/viewvc?rev=1234418&view=rev
Log:
public exposed methods made final
trivial spaces
Modified:
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java
Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java?rev=1234418&r1=1234417&r2=1234418&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java (original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java Sat Jan 21 21:13:58 2012
@@ -37,9 +37,9 @@ import java.util.concurrent.locks.Reentr
abstract class AccessibleObjectsRegistry<AO extends AccessibleObject>
{
- private static final AccessibleObjectsRegistry<Constructor<?>> CONSTRUCTORS_REGISTRY = new ConstructorsRegistry();
+ private static final AccessibleObjectsRegistry<Constructor<?>> CONSTRUCTORS_REGISTRY = new ConstructorsRegistry();
- public static AccessibleObjectsRegistry<Constructor<?>> getConstructorsRegistry()
+ public static AccessibleObjectsRegistry<Constructor<?>> getConstructorsRegistry()
{
return CONSTRUCTORS_REGISTRY;
}
@@ -54,12 +54,12 @@ abstract class AccessibleObjectsRegistry
// this class cannot be instantiated
}
- public AO get( boolean exact, Class<?> type, Class<?>... parameterTypes )
+ public final AO get( boolean exact, Class<?> type, Class<?>... parameterTypes )
{
return get( exact, type, null, parameterTypes );
}
- public AO get( boolean exact, Class<?> type, String methodName, Class<?>... parameterTypes )
+ public final AO get( boolean exact, Class<?> type, String methodName, Class<?>... parameterTypes )
{
AccessibleObjectDescriptor key = new AccessibleObjectDescriptor( exact, type, methodName, parameterTypes );