axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava Utils.java
Date Mon, 01 Nov 2004 15:08:34 GMT
dims        2004/11/01 07:08:34

  Modified:    java/src/org/apache/axis/wsdl/toJava Utils.java
  Log:
  Fix for AXIS-1629 - WSDL2java generates prohibited package names
  
  Notes:
  - Getting rid of java.lang from any package prefix.
  - In this specific case we now generate "org\w3\www\_2001\XMLSchema\holders\StringArrayHolder.java"
instead of "org\w3\www\_2001\XMLSchema\java\lang\holders\StringArrayHolder.java"
  
  Revision  Changes    Path
  1.89      +2 -0      ws-axis/java/src/org/apache/axis/wsdl/toJava/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/Utils.java,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- Utils.java	18 Aug 2004 11:33:57 -0000	1.88
  +++ Utils.java	1 Nov 2004 15:08:34 -0000	1.89
  @@ -145,6 +145,8 @@
                   }
               }
   
  +            name = JavaUtils.replace(name, "java.lang.", "");
  +            
               // This could be a special QName for a indexed property.
               // If so, change the [] to Array.
               name = JavaUtils.replace(name, "[]", "Array");
  
  
  

Mime
View raw message