You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ke...@apache.org on 2007/11/23 16:28:04 UTC
svn commit: r597683 -
/webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
Author: keithc
Date: Fri Nov 23 07:28:04 2007
New Revision: 597683
URL: http://svn.apache.org/viewvc?rev=597683&view=rev
Log:
Adding a check before creting OMText
Modified:
webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
Modified: webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java?rev=597683&r1=597682&r2=597683&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java (original)
+++ webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Fri Nov 23 07:28:04 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