axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r392887 - /webservices/axis/trunk/c/src/soap/SoapBody.cpp
Date Mon, 10 Apr 2006 04:56:40 GMT
Author: nadiramra
Date: Sun Apr  9 21:56:38 2006
New Revision: 392887

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

Modified:
    webservices/axis/trunk/c/src/soap/SoapBody.cpp

Modified: webservices/axis/trunk/c/src/soap/SoapBody.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/soap/SoapBody.cpp?rev=392887&r1=392886&r2=392887&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapBody.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapBody.cpp Sun Apr  9 21:56:38 2006
@@ -45,14 +45,10 @@
 SoapBody::~SoapBody()
 {
     if(m_pSoapMethod)
-    {
         delete m_pSoapMethod;
-    }
 
     if(m_pSoapFault)
-    {
         delete m_pSoapFault;
-    }
 }
 
 void SoapBody::setSoapMethod(SoapMethod* ptrSoapMethod)
@@ -76,9 +72,7 @@
             NULL);
         iStatus= serializeAttributes(pSZ);
         if(iStatus==AXIS_FAIL)
-        {
             break;
-        }
         
         pSZ.serialize(">\n", NULL);
 
@@ -86,17 +80,13 @@
         {        
             iStatus= m_pSoapFault->serialize(pSZ, eSoapVersion);
             if(iStatus==AXIS_FAIL)
-            {
                 break;
-            }
         }
         else if(NULL != m_pSoapMethod)
         {
             iStatus= m_pSoapMethod->serialize(pSZ);
             if(iStatus==AXIS_FAIL)
-            {
                 break;
-            }
         } 
         else
         {
@@ -133,9 +123,7 @@
 
         iStatus= (*itCurrAttribute)->serialize(pSZ);
         if(iStatus==AXIS_FAIL)
-        {
             break;
-        }
         itCurrAttribute++;        
     }    
 



Mime
View raw message