ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r386236 - in /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal: ArrayParamWriter.java BeanParamWriter.java ClientStubHeaderWriter.java ParmHeaderFileWriter.java WrapWriter.java
Date Thu, 16 Mar 2006 01:27:57 GMT
Author: nadiramra
Date: Wed Mar 15 17:27:55 2006
New Revision: 386236

URL: http://svn.apache.org/viewcvs?rev=386236&view=rev
Log:
Format code so more readable - align braces, etc.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ArrayParamWriter.java
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubHeaderWriter.java
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ParmHeaderFileWriter.java
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/WrapWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ArrayParamWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ArrayParamWriter.java?rev=386236&r1=386235&r2=386236&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ArrayParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ArrayParamWriter.java
Wed Mar 15 17:27:55 2006
@@ -54,12 +54,12 @@
             /*
              * Needed for self referenced  array else compilation failed.
              * <xsd:complexType name="Type1">
-             *	<xsd:sequence>
-             *		<xsd:element name="followings" maxOccurs="unbounded" minOccurs="0" type="tns:Type1"
/>
-             *		<xsd:element name="kind" type="xsd:string" />
-             *		<xsd:element name="index" type="xsd:int" />
-             *	</xsd:sequence>
-             *	<xsd:attribute name="att_kind" type="tns:Kind" />
+             *    <xsd:sequence>
+             *        <xsd:element name="followings" maxOccurs="unbounded" minOccurs="0"
type="tns:Type1" />
+             *        <xsd:element name="kind" type="xsd:string" />
+             *        <xsd:element name="index" type="xsd:int" />
+             *    </xsd:sequence>
+             *    <xsd:attribute name="att_kind" type="tns:Kind" />
              * </xsd:complexType>
              */
             //writer.write("\t"+attribs[0].getTypeName()+"* m_Array;\n\tint m_Size;\n} "+classname+";\n\n");

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java?rev=386236&r1=386235&r2=386236&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
Wed Mar 15 17:27:55 2006
@@ -72,12 +72,12 @@
                 /*
                  * Needed for self referenced  array.
                 * <xsd:complexType name="Type1">
-                *	<xsd:sequence>
-                *		<xsd:element name="followings" maxOccurs="unbounded" minOccurs="0"
type="tns:Type1" />
-                *		<xsd:element name="kind" type="xsd:string" />
-                *		<xsd:element name="index" type="xsd:int" />
-                *	</xsd:sequence>
-                *	<xsd:attribute name="att_kind" type="tns:Kind" />
+                *    <xsd:sequence>
+                *        <xsd:element name="followings" maxOccurs="unbounded" minOccurs="0"
type="tns:Type1" />
+                *        <xsd:element name="kind" type="xsd:string" />
+                *        <xsd:element name="index" type="xsd:int" />
+                *    </xsd:sequence>
+                *    <xsd:attribute name="att_kind" type="tns:Kind" />
                 * </xsd:complexType>
                 */
                 typeName = itr.next().toString();

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubHeaderWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubHeaderWriter.java?rev=386236&r1=386235&r2=386236&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubHeaderWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubHeaderWriter.java
Wed Mar 15 17:27:55 2006
@@ -51,13 +51,13 @@
     {
         try
         {
-			writer.write("#include <axis/GDefine.h>\n");
-			writer.write("#include <axis/AxisUserAPI.h>\n");
-			writer.write("#include <axis/SoapEnvVersions.h>\n");
-			writer.write("#include <axis/WSDDDefines.h>\n");
-			writer.write("#include <axis/TypeMapping.h>\n");
-			writer.write("#include <axis/client/Stub.h>\n");
-			writer.write("#include <axis/client/Call.h>\n");
+            writer.write("#include <axis/GDefine.h>\n");
+            writer.write("#include <axis/AxisUserAPI.h>\n");
+            writer.write("#include <axis/SoapEnvVersions.h>\n");
+            writer.write("#include <axis/WSDDDefines.h>\n");
+            writer.write("#include <axis/TypeMapping.h>\n");
+            writer.write("#include <axis/client/Stub.h>\n");
+            writer.write("#include <axis/client/Call.h>\n");
 
             Type atype;
             Iterator types = this.wscontext.getTypemap().getTypes().iterator();

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ParmHeaderFileWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ParmHeaderFileWriter.java?rev=386236&r1=386235&r2=386236&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ParmHeaderFileWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ParmHeaderFileWriter.java
Wed Mar 15 17:27:55 2006
@@ -264,8 +264,8 @@
         {
             Type atype;
             Iterator types = this.wscontext.getTypemap().getTypes().iterator();
-			writer.write("#include <axis/GDefine.h>\n");
-			writer.write("#include <axis/AxisUserAPI.h>\n");
+            writer.write("#include <axis/GDefine.h>\n");
+            writer.write("#include <axis/AxisUserAPI.h>\n");
             Vector typeSet = new Vector();
             String typeName = null;
             while (types.hasNext())

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/WrapWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/WrapWriter.java?rev=386236&r1=386235&r2=386236&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/WrapWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/WrapWriter.java
Wed Mar 15 17:27:55 2006
@@ -173,7 +173,7 @@
             if ((CUtils.isSimpleType(paraTypeName))
                 || (type != null && type.isSimpleType()))
             {
-                //for simple types	
+                //for simple types    
                 writer.write(paraTypeName);
             }
             else
@@ -225,7 +225,7 @@
             if ((CUtils.isSimpleType(paraTypeName))
                 || (type != null && type.isSimpleType()))
             {
-                //for simple types	
+                //for simple types    
                 writer.write("\t" + paraTypeName + " v" + i + ";\n");
             }
             else
@@ -316,7 +316,7 @@
             else
                 if ((CUtils.isSimpleType(param.getLangName())))
                 {
-                    //for simple types	
+                    //for simple types    
                     writer.write(
                         "\tv"
                             + i



Mime
View raw message