axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaBeanHelperWriter.java
Date Sat, 01 Mar 2003 04:48:13 GMT
jmsnell     2003/02/28 20:48:13

  Modified:    java/src/org/apache/axis/wsdl/toJava
                        JavaBeanHelperWriter.java
  Log:
  Refixing the bug that was causing WSDL2Java to create improper 
  metadata when dealing with nested arrays.
  
  Revision  Changes    Path
  1.35      +2 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaBeanHelperWriter.java
  
  Index: JavaBeanHelperWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaBeanHelperWriter.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- JavaBeanHelperWriter.java	28 Feb 2003 16:21:54 -0000	1.34
  +++ JavaBeanHelperWriter.java	1 Mar 2003 04:48:13 -0000	1.35
  @@ -273,7 +273,8 @@
                       
                       // Some special handling for arrays
                       TypeEntry elemType = elem.getType();
  -                    while (elemType.getRefType() != null) {
  +                    while (elemType.getRefType() != null &&
  +                           !(elem.getType().getDimensions().indexOf("[") > -1)) {
                           elemType = elemType.getRefType();
                       }
                       
  
  
  

Mime
View raw message