axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r641136 - /webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
Date Wed, 26 Mar 2008 04:10:55 GMT
Author: amilas
Date: Tue Mar 25 21:10:55 2008
New Revision: 641136

URL: http://svn.apache.org/viewvc?rev=641136&view=rev
Log:
removed unneccessary package mapping when user has not specified. this
some times gives problems when replacing classes with the XJC generated classes.

Modified:
    webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java

Modified: webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java?rev=641136&r1=641135&r2=641136&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
Tue Mar 25 21:10:55 2008
@@ -161,11 +161,7 @@
                         String pkg = (String)nsMap.get(namespace);
                         registerNamespace(sc, namespace, pkg);
                     }
-                } else {
-                    String namespace = key.getTargetNamespace();
-                    String pkg = extractNamespace(key);
-                    registerNamespace(sc, namespace, pkg);
-                }
+                } 
 
                 sc.setEntityResolver(resolver);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message