axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ig...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava Namespaces.java
Date Thu, 28 Feb 2002 21:33:05 GMT
igors       02/02/28 13:33:05

  Modified:    java/src/org/apache/axis/wsdl/toJava Namespaces.java
  Log:
  Fixed to return the adjusted nsp name along with putting it in the map.
  It was just putting it in the map, so the first occurence would always screw up.
  Amendment to my earlier fix:)
  
  Revision  Changes    Path
  1.3       +4 -2      xml-axis/java/src/org/apache/axis/wsdl/toJava/Namespaces.java
  
  Index: Namespaces.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/Namespaces.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Namespaces.java	27 Feb 2002 13:25:36 -0000	1.2
  +++ Namespaces.java	28 Feb 2002 21:33:05 -0000	1.3
  @@ -117,8 +117,10 @@
           }
           String value = (String)super.get(key);
           if (value == null) {
  -            value = (String)Utils.makePackageName(key);
  -            put(key, normalizePackageName(value,javaPkgSeparator));
  +            value = normalizePackageName(
  +                        (String)Utils.makePackageName(key),
  +                        javaPkgSeparator);
  +            put(key, value);
           }
           return (String) value;
       } // getCreate
  
  
  

Mime
View raw message