Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 94331 invoked by uid 500); 28 Feb 2002 21:33:06 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 94293 invoked by uid 500); 28 Feb 2002 21:33:05 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 28 Feb 2002 21:33:05 -0000 Message-ID: <20020228213305.34072.qmail@icarus.apache.org> From: igors@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava Namespaces.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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