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 na...@apache.org on 2006/11/20 05:54:32 UTC

svn commit: r477044 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java

Author: nadiramra
Date: Sun Nov 19 20:54:31 2006
New Revision: 477044

URL: http://svn.apache.org/viewvc?view=rev&rev=477044
Log:
code formatting - aligning code correctly.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java?view=diff&rev=477044&r1=477043&r2=477044
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ParamCPPFileWriter.java Sun Nov 19 20:54:31 2006
@@ -59,17 +59,11 @@
             writePreprocessorStatements();
             
             if (type.isSimpleType())
-            {
                 writeRestrictionCheckerFunction();
-            }
-            else
+            else if( type.isRestriction())    // vvv FJP - 17667
             {
-                // vvv FJP - 17667
-                if( type.isRestriction())
-                {
-                    writer.write( "\n// Type consists of purely 'restriction' information.\n// Currently no code has been written, but some may be required to check the restriction.\n\n");
-                }
-                // ^^^ FJP - 17667
+                writer.write( "\n// Type consists of purely 'restriction' information.\n// Currently no code has been written, but some may be required to check the restriction.\n\n");
+            } // ^^^ FJP - 17667              
             else
             {
                 writeGlobalCodes();
@@ -77,7 +71,6 @@
                 writeConstructors();
                 writeDestructors();
                 writeMethods();
-            }
             }
             
             writer.flush();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org