You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/05/01 04:37:59 UTC
svn commit: r533916 -
/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java
Author: dims
Date: Mon Apr 30 19:37:58 2007
New Revision: 533916
URL: http://svn.apache.org/viewvc?view=rev&rev=533916
Log:
Fix for AXIS2-2487 - call toLowerCase only if we generate the namespace
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java
Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java?view=diff&rev=533916&r1=533915&r2=533916
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension/PackageFinder.java Mon Apr 30 19:37:58 2007
@@ -37,6 +37,9 @@
} else {
// i.e. user have not given any ns2p information for this name space
packageName = URLProcessor.makePackageName(configuration.getTargetNamespace());
+ if (packageName != null) {
+ configuration.setPackageName(packageName.toLowerCase());
+ }
}
}
@@ -44,10 +47,7 @@
if ((packageName == null) || "".equals(packageName)) {
packageName = URLProcessor.DEFAULT_PACKAGE;
}
-
- configuration.setPackageName(packageName.toLowerCase());
-
}
-}
\ No newline at end of file
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org