axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baud...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal BeanParamWriter.java
Date Tue, 30 Mar 2004 14:05:53 GMT
baudyjy     2004/03/30 06:05:53

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        BeanParamWriter.java
  Log:
  Remove AXISTRACE1 for attributes.
  
  Revision  Changes    Path
  1.15      +3 -3      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
  
  Index: BeanParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- BeanParamWriter.java	27 Mar 2004 21:04:26 -0000	1.14
  +++ BeanParamWriter.java	30 Mar 2004 14:05:53 -0000	1.15
  @@ -166,9 +166,9 @@
   				writer.write("\tif (0 != param->"+attribs[i].getParamName()+")\n");
   				writer.write("\t\tpSZ->SerializeAsAttribute(\""+attribs[i].getParamName()+"\", 0,
(void*)&(param->"+attribs[i].getParamName()+"), "+ CUtils.getXSDTypeForBasicType(attribs[i].getTypeName())+");\n");
			
   				if (!attribs[i].isOptional()){
  -					/* This avoid segmentation fault in runtime */
  -					writer.write("\telse\n");
  -					writer.write("\t\tAXISTRACE1(\"The mandatory attribute "+attribs[i].getParamName()+"
is not set\", CRITICAL);\n");
  +					/* This avoid segmentation fault at runtime */
  +					/*writer.write("\telse\n");
  +					writer.write("\t\tAXISTRACE1(\"The mandatory attribute "+attribs[i].getParamName()+"
is not set\", CRITICAL);\n");*/
   				}
   			}
   		}
  
  
  

Mime
View raw message