Author: britter
Date: Thu Feb 20 19:13:44 2014
New Revision: 1570312
URL: http://svn.apache.org/r1570312
Log:
Fix checkstyle violations
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=1570312&r1=1570311&r2=1570312&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
Thu Feb 20 19:13:44 2014
@@ -501,7 +501,7 @@ abstract class AccessibleObjectsRegistry
* @param parameterTypes the array of classes representing the
parameter types
* @param exact whether the match has to be exact.
*/
- public AccessibleObjectDescriptor( boolean exact, Class<?> type,
String methodName, Class<?>... parameterTypes)
+ public AccessibleObjectDescriptor( boolean exact, Class<?> type,
String methodName, Class<?>... parameterTypes )
{
final int prime = 31;
int hashCode = 1;
@@ -516,7 +516,7 @@ abstract class AccessibleObjectsRegistry
hashCode = prime * hashCode + ( ( methodName == null ) ? 0 :
methodName.hashCode() );
this.parameterTypes = parameterTypes;
- hashCode = prime * hashCode + Arrays.hashCode(parameterTypes);
+ hashCode = prime * hashCode + Arrays.hashCode( parameterTypes );
this.hashCode = hashCode;
}
@@ -564,7 +564,7 @@ abstract class AccessibleObjectsRegistry
return false;
}
- if ( !Arrays.equals(parameterTypes, other.parameterTypes) )
+ if ( !Arrays.equals( parameterTypes, other.parameterTypes ) )
{
return false;
}