Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 12811 invoked from network); 26 Mar 2008 04:11:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 04:11:19 -0000 Received: (qmail 80078 invoked by uid 500); 26 Mar 2008 04:11:18 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 79861 invoked by uid 500); 26 Mar 2008 04:11:18 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 79850 invoked by uid 500); 26 Mar 2008 04:11:17 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 79846 invoked by uid 99); 26 Mar 2008 04:11:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 21:11:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 04:10:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 254C41A9838; Tue, 25 Mar 2008 21:10:56 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080326041056.254C41A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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