geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r528297 - /geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
Date Fri, 13 Apr 2007 00:55:29 GMT
Author: dims
Date: Thu Apr 12 17:55:28 2007
New Revision: 528297

URL: http://svn.apache.org/viewvc?view=rev&rev=528297
Log:
Avoid java.lang.ArrayIndexOutOfBoundsException

Modified:
    geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java

Modified: geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java?view=diff&rev=528297&r1=528296&r2=528297
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
Thu Apr 12 17:55:28 2007
@@ -423,7 +423,7 @@
         pdc.setWebParamAnnot(webParamAnnot); 
         Class[] paramTypes = method.getParameterTypes();
             
-        if (paramTypes.length >= j){
+        if (j < paramTypes.length){
             pdc.setParameterType(paramTypes[j].getName());
             pdc.setListOrder(j);
         }



Mime
View raw message