commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1142281 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java
Date Sat, 02 Jul 2011 19:43:48 GMT
Author: simonetripodi
Date: Sat Jul  2 19:43:47 2011
New Revision: 1142281

URL: http://svn.apache.org/viewvc?rev=1142281&view=rev
Log:
minor style of array notation

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java?rev=1142281&r1=1142280&r2=1142281&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/CallMethodRule.java
Sat Jul  2 19:43:47 2011
@@ -163,7 +163,7 @@ public class CallMethodRule
      *            corresonding Java wrapper class instead, such as <code>java.lang.Boolean</code>
for a
      *            <code>boolean</code> parameter)
      */
-    public CallMethodRule( String methodName, int paramCount, String paramTypes[] )
+    public CallMethodRule( String methodName, int paramCount, String[] paramTypes )
     {
         this( 0, methodName, paramCount, paramTypes );
     }
@@ -182,7 +182,7 @@ public class CallMethodRule
      *            corresponding Java wrapper class instead, such as <code>java.lang.Boolean</code>
for a
      *            <code>boolean</code> parameter)
      */
-    public CallMethodRule( int targetOffset, String methodName, int paramCount, String paramTypes[]
)
+    public CallMethodRule( int targetOffset, String methodName, int paramCount, String[]
paramTypes )
     {
         this.targetOffset = targetOffset;
         this.methodName = methodName;
@@ -231,7 +231,7 @@ public class CallMethodRule
      *            a primitive type, specify the corresponding Java wrapper class instead,
such as
      *            <code>java.lang.Boolean.TYPE</code> for a <code>boolean</code>
parameter)
      */
-    public CallMethodRule( int targetOffset, String methodName, int paramCount, Class<?>
paramTypes[] )
+    public CallMethodRule( int targetOffset, String methodName, int paramCount, Class<?>[]
paramTypes )
     {
         this.targetOffset = targetOffset;
         this.methodName = methodName;
@@ -275,13 +275,13 @@ public class CallMethodRule
     /**
      * The parameter types of the parameters to be collected.
      */
-    protected Class<?> paramTypes[] = null;
+    protected Class<?>[] paramTypes = null;
 
     /**
      * The names of the classes of the parameters to be collected. This attribute allows
creation of the classes to be
      * postponed until the digester is set.
      */
-    private String paramClassNames[] = null;
+    private String[] paramClassNames = null;
 
     /**
      * Should <code>MethodUtils.invokeExactMethod</code> be used for reflection.



Mime
View raw message