Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 85921 invoked from network); 23 Nov 2007 15:28:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 15:28:39 -0000 Received: (qmail 43455 invoked by uid 500); 23 Nov 2007 15:28:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 43345 invoked by uid 500); 23 Nov 2007 15:28:26 -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 43334 invoked by uid 500); 23 Nov 2007 15:28:25 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 43331 invoked by uid 99); 23 Nov 2007 15:28:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 07:28:25 -0800 X-ASF-Spam-Status: No, hits=-100.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; Fri, 23 Nov 2007 15:28:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7C91F1A9832; Fri, 23 Nov 2007 07:28:17 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r597684 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Date: Fri, 23 Nov 2007 15:28:17 -0000 To: axis2-cvs@ws.apache.org From: keithc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071123152817.7C91F1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: keithc Date: Fri Nov 23 07:28:16 2007 New Revision: 597684 URL: http://svn.apache.org/viewvc?rev=597684&view=rev Log: Adding a check before creting OMText Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java?rev=597684&r1=597683&r2=597684&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Fri Nov 23 07:28:16 2007 @@ -157,7 +157,9 @@ } public void setDocumentation(String documentation) { - this.documentation = omFactory.createOMText(documentation); + if (!"".equals(documentation)) { + this.documentation = omFactory.createOMText(documentation); + } } public void setParent(AxisDescription parent) { --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org