You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by la...@apache.org on 2008/04/02 11:56:29 UTC

svn commit: r643823 - /webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c

Author: lahiru
Date: Wed Apr  2 02:56:25 2008
New Revision: 643823

URL: http://svn.apache.org/viewvc?rev=643823&view=rev
Log:
Hackathon:code improvements

Modified:
    webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c?rev=643823&r1=643822&r2=643823&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c Wed Apr  2 02:56:25 2008
@@ -94,8 +94,9 @@
 
     soap_fault = axiom_soap_fault_create(env);
     if (!soap_fault)
+    {
         return NULL;
-
+    }
     parent_node = axiom_soap_body_get_base_node(body, env);
     if (!parent_node)
     {
@@ -140,7 +141,9 @@
     AXIS2_PARAM_CHECK(env->error, exception, NULL);
     soap_fault = axiom_soap_fault_create_with_parent(env, body);
     if (!soap_fault)
+    {
         return NULL;
+    }
     status = axiom_soap_fault_set_exception(soap_fault, env, exception);
     if (status == AXIS2_FAILURE)
     {
@@ -225,7 +228,9 @@
         {
             status = axiom_soap_builder_next(soap_fault->soap_builder, env);
             if (status == AXIS2_FAILURE)
+            {
                 break;
+            }
         }
     }
     return soap_fault->fcode;
@@ -268,7 +273,9 @@
         {
             status = axiom_soap_builder_next(soap_fault->soap_builder, env);
             if (status == AXIS2_FAILURE)
+            {
                 break;
+            }
         }
     }
     return soap_fault->freason;
@@ -313,7 +320,9 @@
         {
             status = axiom_soap_builder_next(soap_fault->soap_builder, env);
             if (status == AXIS2_FAILURE)
+            {
                 break;
+            }
         }
     }
     return soap_fault->fnode;
@@ -359,7 +368,9 @@
         {
             status = axiom_soap_builder_next(soap_fault->soap_builder, env);
             if (status == AXIS2_FAILURE)
+            {
                 break;
+            }
         }
     }
     return soap_fault->frole;
@@ -405,7 +416,9 @@
         {
             status = axiom_soap_builder_next(soap_fault->soap_builder, env);
             if (status == AXIS2_FAILURE)
+            {
                 break;
+            }
         }
     }
     return soap_fault->fdetail;
@@ -453,7 +466,9 @@
 
     detail = axiom_soap_fault_get_detail(soap_fault, env);
     if (!detail)
+    {
         return NULL;
+    }
     detail_node = axiom_soap_fault_detail_get_base_node(detail, env);
     if (detail_node)
     {
@@ -500,7 +515,9 @@
     {
         detail = axiom_soap_fault_detail_create_with_parent(env, soap_fault);
         if (!detail)
+        {
             return AXIS2_FAILURE;
+        }
     }
 
     /** create an om element with the exception enrty */
@@ -561,7 +578,9 @@
 
     soap_fault = axiom_soap_fault_create_with_parent(env, parent);
     if (!soap_fault)
+    {
         return NULL;
+    }
     fault_node = axiom_soap_fault_get_base_node(soap_fault, env);
     if (!fault_node)
     {



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