axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r447671 [6/8] - in /webservices/axis2/trunk/c: axiom/src/attachments/ axiom/src/om/ axiom/src/parser/libxml2/ axiom/src/soap/ axiom/src/util/ axiom/test/om/ axiom/test/soap/ guththila/src/ modules/core/addr/ modules/core/clientapi/ modules/...
Date Tue, 19 Sep 2006 01:39:11 GMT
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_exts.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_exts.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_exts.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_exts.c Mon Sep 18 18:39:03 2006
@@ -380,7 +380,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_WSDL10_Q_ATTR_SOAP_VERSION);
     version = (woden_string_attr_t *)
             WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(parent_element, env, binding_exts_impl->qname);
-    return version != NULL ? WODEN_STRING_ATTR_GET_STRING(version, env) :
+    return version  ? WODEN_STRING_ATTR_GET_STRING(version, env) :
             NULL;
 }
 
@@ -404,7 +404,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_WSDL10_Q_ATTR_SOAP_PROTOCOL);
     protocol = (woden_uri_attr_t *) WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(
                 parent_element, env, binding_exts_impl->qname);
-    return protocol != NULL ? WODEN_URI_ATTR_GET_URI(protocol, env) : NULL;
+    return protocol  ? WODEN_URI_ATTR_GET_URI(protocol, env) : NULL;
 }
 
 axis2_uri_t *AXIS2_CALL
@@ -427,7 +427,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_WSDL10_Q_ATTR_SOAP_MEPDEFAULT);
     mep_default = (woden_uri_attr_t *)
             WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(parent_element, env, binding_exts_impl->qname);
-    return mep_default != NULL ? WODEN_URI_ATTR_GET_URI(mep_default, env) :
+    return mep_default  ? WODEN_URI_ATTR_GET_URI(mep_default, env) :
             NULL;
 }
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_op_exts.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_op_exts.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_op_exts.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_op_exts.c Mon Sep 18 18:39:03 2006
@@ -377,7 +377,7 @@
     mep = WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(
                 parent_element, env, binding_op_exts_impl->qname);
 
-    return mep != NULL ? WODEN_URI_ATTR_GET_URI(mep, env) : NULL;
+    return mep  ? WODEN_URI_ATTR_GET_URI(mep, env) : NULL;
 }
 
 axis2_status_t AXIS2_CALL

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block.c Mon Sep 18 18:39:03 2006
@@ -915,7 +915,7 @@
     header_block_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_WSDL10_SOAP_HEADER_BLOCK", AXIS2_HASH_KEY_STRING));
 
-    if (header_block_impl->f_types != NULL)
+    if (header_block_impl->f_types)
     {
         xse = WODEN_TYPES_GET_ELEMENT_DECLARATION(
                     header_block_impl->f_types, env, header_block_impl->

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block_deserializer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block_deserializer.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block_deserializer.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block_deserializer.c Mon Sep 18 18:39:03 2006
@@ -341,7 +341,7 @@
 
     element_decl_qn = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_WSDL10_ATTR_ELEMENT);
-    if (NULL != element_decl_qn)
+    if (element_decl_qn)
     {
         axis2_qname_t *qname = NULL;
         axis2_hash_t *namespcs = NULL;
@@ -356,7 +356,7 @@
     }
     must_understand = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_WSDL10_ATTR_MUSTUNDERSTAND);
-    if (NULL != must_understand && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, must_understand))
+    if (must_understand && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, must_understand))
         understood = AXIS2_TRUE;
     else
         understood = AXIS2_FALSE;
@@ -365,7 +365,7 @@
 
     req = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_WSDL10_ATTR_REQUIRED);
-    if (NULL != req && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, req))
+    if (req && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, req))
         required = AXIS2_TRUE;
     else
         required = AXIS2_FALSE;
@@ -380,7 +380,7 @@
     temp_el = axiom_util_get_first_child_element(ext_el, env, ext_el_node,
             &temp_el_node);
 
-    while (NULL != temp_el && NULL != temp_el_node)
+    while (temp_el && NULL != temp_el_node)
     {
         axis2_qname_t *q_elem_documentation = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_module_deserializer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_module_deserializer.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_module_deserializer.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_module_deserializer.c Mon Sep 18 18:39:03 2006
@@ -347,7 +347,7 @@
 
     ref = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(el, env,
             WODEN_WSDL10_ATTR_REF);
-    if (NULL != ref)
+    if (ref)
     {
         axis2_uri_t *uri = axis2_uri_parse_string(env, ref);
 
@@ -356,7 +356,7 @@
     }
     req = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(el, env,
             WODEN_WSDL10_ATTR_REQUIRED);
-    if (NULL != req && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, req))
+    if (req && 0 == AXIS2_STRCMP(WODEN_WSDL10_VALUE_TRUE, req))
         required = AXIS2_TRUE;
     else
         required = AXIS2_FALSE;
@@ -411,7 +411,7 @@
     temp_el = axiom_util_get_first_child_element(el, env, el_node,
             &temp_el_node);
 
-    while (NULL != temp_el && NULL != temp_el_node)
+    while (temp_el && NULL != temp_el_node)
     {
         axis2_qname_t *q_elem_documentation = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/extensions/wsdl10_ext_registry.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/extensions/wsdl10_ext_registry.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/extensions/wsdl10_ext_registry.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/extensions/wsdl10_ext_registry.c Mon Sep 18 18:39:03 2006
@@ -379,7 +379,7 @@
     inner_deserializer_reg = axis2_hash_get(registry_impl->deserializer_reg,
             parent_type, AXIS2_HASH_KEY_STRING);
     /*elem_name = AXIS2_QNAME_TO_STRING(element_type, env); */
-    if (NULL != inner_deserializer_reg)
+    if (inner_deserializer_reg)
     {
 
         element_qtype = axis2_qname_create_from_string(env,
@@ -424,7 +424,7 @@
     inner_ext_element_reg = axis2_hash_get(registry_impl->ext_element_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     /*elem_name = AXIS2_QNAME_TO_STRING(elem_qn, env);*/
-    if (NULL != inner_ext_element_reg)
+    if (inner_ext_element_reg)
     {
         element = axis2_hash_get(inner_ext_element_reg,
                 WODEN_WSDL10_Q_ELEM_SOAP_MODULE, AXIS2_HASH_KEY_STRING);
@@ -454,7 +454,7 @@
 
     inner_deserializer_reg = axis2_hash_get(registry_impl->deserializer_reg,
             parent_type, AXIS2_HASH_KEY_STRING);
-    if (NULL != inner_deserializer_reg)
+    if (inner_deserializer_reg)
     {
         axis2_hash_index_t *i = NULL;
 
@@ -588,7 +588,7 @@
     inner_ext_attr_reg = axis2_hash_get(registry_impl->ext_attr_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     attr_name = AXIS2_QNAME_TO_STRING(attr_qn, env);
-    if (NULL != inner_ext_attr_reg)
+    if (inner_ext_attr_reg)
     {
         attr = axis2_hash_get(inner_ext_attr_reg, attr_name,
                 AXIS2_HASH_KEY_STRING);
@@ -658,7 +658,7 @@
     inner_comp_ext_reg = axis2_hash_get(registry_impl->comp_ext_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     namespc = AXIS2_URI_TO_STRING(ext_namespc, env, AXIS2_URI_UNP_OMITUSERINFO);
-    if (NULL != inner_comp_ext_reg)
+    if (inner_comp_ext_reg)
     {
         comp_ext = axis2_hash_get(inner_comp_ext_reg, namespc,
                 AXIS2_HASH_KEY_STRING);
@@ -687,7 +687,7 @@
     inner_comp_ext_reg = axis2_hash_get(registry_impl->comp_ext_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     registry_impl->key_set = axis2_array_list_create(env, 0);
-    if (NULL != inner_comp_ext_reg)
+    if (inner_comp_ext_reg)
     {
         axis2_hash_index_t *i = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_component_model_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_component_model_builder.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_component_model_builder.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_component_model_builder.c Mon Sep 18 18:39:03 2006
@@ -351,7 +351,7 @@
 
             incl_el = AXIS2_ARRAY_LIST_GET(includes, env, i);
             incl_desc = WODEN_INCLUDE_ELEMENT_GET_DESC_ELEMENT(incl_el, env);
-            if (NULL != incl_desc)
+            if (incl_desc)
             {
                 init_components(builder, env, incl_desc);
             }
@@ -369,7 +369,7 @@
 
             imp_el = AXIS2_ARRAY_LIST_GET(imports, env, i);
             imp_desc = WODEN_IMPORT_ELEMENT_GET_DESC_ELEMENT(imp_el, env);
-            if (NULL != imp_desc)
+            if (imp_desc)
             {
                 init_components(builder, env, imp_desc);
             }
@@ -406,7 +406,7 @@
 
     type_system_uri = axis2_uri_parse_string(env, WODEN_TYPE_XSD_2001);
 
-    if (NULL != types)
+    if (types)
     {
         axis2_array_list_t *referenceable_schema_defs = NULL;
         int i = 0, size = 0;
@@ -475,7 +475,7 @@
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
 
     schema_tns = XML_SCHEMA_GET_TARGET_NAMESPACE(schema_def, env);
-    if (NULL != schema_tns)
+    if (schema_tns)
     {
         xml_schema_obj_table_t *element_table = NULL;
         axis2_array_list_t *qnames = NULL;
@@ -532,7 +532,7 @@
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
 
     schema_tns = XML_SCHEMA_GET_TARGET_NAMESPACE(schema_def, env);
-    if (NULL != schema_tns)
+    if (schema_tns)
     {
         xml_schema_obj_table_t *type_table = NULL;
         axis2_array_list_t *qnames = NULL;
@@ -671,7 +671,7 @@
 
     desc = woden_wsdl10_desc_to_desc_element(desc, env);
     interface_els = WODEN_WSDL10_DESC_ELEMENT_GET_INTERFACE_ELEMENTS(desc, env);
-    if (NULL != interface_els)
+    if (interface_els)
     {
         size = AXIS2_ARRAY_LIST_SIZE(interface_els, env);
     }
@@ -781,7 +781,7 @@
         fault_ref = woden_wsdl10_interface_fault_ref_to_interface_fault_ref_element(
                     fault_ref, env);
         qname = WODEN_WSDL10_INTERFACE_FAULT_REF_ELEMENT_GET_MSG_QNAME(fault_ref, env);
-        if (NULL != qname)
+        if (qname)
         {
             axis2_array_list_t *msgs = NULL;
 
@@ -1385,7 +1385,7 @@
         prop = AXIS2_ARRAY_LIST_GET(prop_els, env, i);
         prop = woden_property_to_property_element(prop, env);
         qname = WODEN_PROPERTY_ELEMENT_GET_CONSTRAINT_QNAME(prop, env);
-        if (NULL != qname)
+        if (qname)
         {
             void *value = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_desc.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_desc.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_desc.c Mon Sep 18 18:39:03 2006
@@ -1562,8 +1562,8 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_WSDL10_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
-    if (NULL != namespc)
+    pfx = (prefix) ? prefix : "";
+    if (namespc)
         axis2_hash_set(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING,
                 AXIS2_URI_CLONE(namespc, env));
     else
@@ -1586,7 +1586,7 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_WSDL10_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
+    pfx = (prefix) ? prefix : "";
     axis2_hash_set(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING, NULL);
     return AXIS2_SUCCESS;
 }
@@ -1606,7 +1606,7 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_WSDL10_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
+    pfx = (prefix) ? prefix : "";
     return axis2_hash_get(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING);
 }
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/component_model_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/component_model_builder.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/component_model_builder.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/component_model_builder.c Mon Sep 18 18:39:03 2006
@@ -348,7 +348,7 @@
 
             incl_el = AXIS2_ARRAY_LIST_GET(includes, env, i);
             incl_desc = WODEN_INCLUDE_ELEMENT_GET_DESC_ELEMENT(incl_el, env);
-            if (NULL != incl_desc)
+            if (incl_desc)
             {
                 init_components(builder, env, incl_desc);
             }
@@ -366,7 +366,7 @@
 
             imp_el = AXIS2_ARRAY_LIST_GET(imports, env, i);
             imp_desc = WODEN_IMPORT_ELEMENT_GET_DESC_ELEMENT(imp_el, env);
-            if (NULL != imp_desc)
+            if (imp_desc)
             {
                 init_components(builder, env, imp_desc);
             }
@@ -403,7 +403,7 @@
 
     type_system_uri = axis2_uri_parse_string(env, WODEN_TYPE_XSD_2001);
 
-    if (NULL != types)
+    if (types)
     {
         axis2_array_list_t *referenceable_schema_defs = NULL;
         int i = 0, size = 0;
@@ -472,7 +472,7 @@
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
 
     schema_tns = XML_SCHEMA_GET_TARGET_NAMESPACE(schema_def, env);
-    if (NULL != schema_tns)
+    if (schema_tns)
     {
         xml_schema_obj_table_t *element_table = NULL;
         axis2_array_list_t *qnames = NULL;
@@ -529,7 +529,7 @@
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
 
     schema_tns = XML_SCHEMA_GET_TARGET_NAMESPACE(schema_def, env);
-    if (NULL != schema_tns)
+    if (schema_tns)
     {
         xml_schema_obj_table_t *type_table = NULL;
         axis2_array_list_t *qnames = NULL;
@@ -592,7 +592,7 @@
 
     desc = woden_desc_to_desc_element(desc, env);
     interface_els = WODEN_DESC_ELEMENT_GET_INTERFACE_ELEMENTS(desc, env);
-    if (NULL != interface_els)
+    if (interface_els)
     {
         size = AXIS2_ARRAY_LIST_SIZE(interface_els, env);
     }
@@ -661,7 +661,7 @@
         build_properties(builder, env, property_elements, fault);
         fault = woden_interface_fault_to_interface_fault_element(fault, env);
         qname = WODEN_INTERFACE_FAULT_ELEMENT_GET_ELEMENT_QNAME(fault, env);
-        if (NULL != qname)
+        if (qname)
         {
             void *element_decl = NULL;
 
@@ -741,7 +741,7 @@
         fault_ref = woden_interface_fault_ref_to_interface_fault_ref_element(
                     fault_ref, env);
         qname = WODEN_INTERFACE_FAULT_REF_ELEMENT_GET_REF(fault_ref, env);
-        if (NULL != qname)
+        if (qname)
         {
             void *interface = NULL;
             void *interface_fault = NULL;
@@ -1494,7 +1494,7 @@
         prop = AXIS2_ARRAY_LIST_GET(prop_els, env, i);
         prop = woden_property_to_property_element(prop, env);
         qname = WODEN_PROPERTY_ELEMENT_GET_CONSTRAINT_QNAME(prop, env);
-        if (NULL != qname)
+        if (qname)
         {
             void *value = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/desc.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/desc.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/desc.c Mon Sep 18 18:39:03 2006
@@ -1445,8 +1445,8 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
-    if (NULL != namespc)
+    pfx = (prefix) ? prefix : "";
+    if (namespc)
         axis2_hash_set(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING,
                 AXIS2_URI_CLONE(namespc, env));
     else
@@ -1469,7 +1469,7 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
+    pfx = (prefix) ? prefix : "";
     axis2_hash_set(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING, NULL);
     return AXIS2_SUCCESS;
 }
@@ -1489,7 +1489,7 @@
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_DESC", AXIS2_HASH_KEY_STRING));
 
-    pfx = (NULL != prefix) ? prefix : "";
+    pfx = (prefix) ? prefix : "";
     return axis2_hash_get(desc_impl->f_namespcs, pfx, AXIS2_HASH_KEY_STRING);
 }
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c Mon Sep 18 18:39:03 2006
@@ -378,7 +378,7 @@
     inner_deserializer_reg = axis2_hash_get(registry_impl->deserializer_reg,
             parent_type, AXIS2_HASH_KEY_STRING);
     elem_name = AXIS2_QNAME_TO_STRING(element_type, env);
-    if (NULL != inner_deserializer_reg)
+    if (inner_deserializer_reg)
     {
         ed = axis2_hash_get(inner_deserializer_reg, elem_name,
                 AXIS2_HASH_KEY_STRING);
@@ -417,7 +417,7 @@
     inner_ext_attr_reg = axis2_hash_get(registry_impl->ext_attr_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     elem_name = AXIS2_QNAME_TO_STRING(elem_qn, env);
-    if (NULL != inner_ext_attr_reg)
+    if (inner_ext_attr_reg)
     {
         element = axis2_hash_get(inner_ext_attr_reg, elem_name,
                 AXIS2_HASH_KEY_STRING);
@@ -447,7 +447,7 @@
 
     inner_deserializer_reg = axis2_hash_get(registry_impl->deserializer_reg,
             parent_type, AXIS2_HASH_KEY_STRING);
-    if (NULL != inner_deserializer_reg)
+    if (inner_deserializer_reg)
     {
         axis2_hash_index_t *i = NULL;
 
@@ -581,7 +581,7 @@
     inner_ext_attr_reg = axis2_hash_get(registry_impl->ext_attr_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     attr_name = AXIS2_QNAME_TO_STRING(attr_qn, env);
-    if (NULL != inner_ext_attr_reg)
+    if (inner_ext_attr_reg)
     {
         attr = axis2_hash_get(inner_ext_attr_reg, attr_name,
                 AXIS2_HASH_KEY_STRING);
@@ -651,7 +651,7 @@
     inner_comp_ext_reg = axis2_hash_get(registry_impl->comp_ext_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     namespc = AXIS2_URI_TO_STRING(ext_namespc, env, AXIS2_URI_UNP_OMITUSERINFO);
-    if (NULL != inner_comp_ext_reg)
+    if (inner_comp_ext_reg)
     {
         comp_ext = axis2_hash_get(inner_comp_ext_reg, namespc,
                 AXIS2_HASH_KEY_STRING);
@@ -680,7 +680,7 @@
     inner_comp_ext_reg = axis2_hash_get(registry_impl->comp_ext_reg,
             parent_class, AXIS2_HASH_KEY_STRING);
     registry_impl->key_set = axis2_array_list_create(env, 0);
-    if (NULL != inner_comp_ext_reg)
+    if (inner_comp_ext_reg)
     {
         axis2_hash_index_t *i = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_exts.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_exts.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_exts.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_exts.c Mon Sep 18 18:39:03 2006
@@ -380,7 +380,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_Q_ATTR_SOAP_VERSION);
     version = (woden_string_attr_t *)
             WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(parent_element, env, binding_exts_impl->qname);
-    return version != NULL ? WODEN_STRING_ATTR_GET_STRING(version, env) :
+    return version  ? WODEN_STRING_ATTR_GET_STRING(version, env) :
             NULL;
 }
 
@@ -404,7 +404,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_Q_ATTR_SOAP_PROTOCOL);
     protocol = (woden_uri_attr_t *) WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(
                 parent_element, env, binding_exts_impl->qname);
-    return protocol != NULL ? WODEN_URI_ATTR_GET_URI(protocol, env) : NULL;
+    return protocol  ? WODEN_URI_ATTR_GET_URI(protocol, env) : NULL;
 }
 
 axis2_uri_t *AXIS2_CALL
@@ -427,7 +427,7 @@
     binding_exts_impl->qname = axis2_qname_create_from_string(env, WODEN_Q_ATTR_SOAP_MEPDEFAULT);
     mep_default = (woden_uri_attr_t *)
             WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(parent_element, env, binding_exts_impl->qname);
-    return mep_default != NULL ? WODEN_URI_ATTR_GET_URI(mep_default, env) :
+    return mep_default  ? WODEN_URI_ATTR_GET_URI(mep_default, env) :
             NULL;
 }
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_op_exts.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_op_exts.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_op_exts.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_op_exts.c Mon Sep 18 18:39:03 2006
@@ -356,7 +356,7 @@
     mep = WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(
                 parent_element, env, binding_op_exts_impl->qname);
 
-    return mep != NULL ? WODEN_URI_ATTR_GET_URI(mep, env) : NULL;
+    return mep  ? WODEN_URI_ATTR_GET_URI(mep, env) : NULL;
 }
 
 axis2_uri_t *AXIS2_CALL
@@ -380,7 +380,7 @@
     action = WODEN_ATTR_EXTENSIBLE_GET_EXT_ATTR(
                 parent_element, env, binding_op_exts_impl->qname);
 
-    return action != NULL ? WODEN_URI_ATTR_GET_URI(action, env) : NULL;
+    return action  ? WODEN_URI_ATTR_GET_URI(action, env) : NULL;
 }
 
 axis2_array_list_t *AXIS2_CALL

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block.c Mon Sep 18 18:39:03 2006
@@ -915,7 +915,7 @@
     header_block_impl = INTF_TO_IMPL(axis2_hash_get(super,
             "WODEN_SOAP_HEADER_BLOCK", AXIS2_HASH_KEY_STRING));
 
-    if (header_block_impl->f_types != NULL)
+    if (header_block_impl->f_types)
     {
         xse = WODEN_TYPES_GET_ELEMENT_DECLARATION(
                     header_block_impl->f_types, env, header_block_impl->

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_deserializer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_deserializer.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_deserializer.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_deserializer.c Mon Sep 18 18:39:03 2006
@@ -340,7 +340,7 @@
 
     element_decl_qn = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_ATTR_ELEMENT);
-    if (NULL != element_decl_qn)
+    if (element_decl_qn)
     {
         axis2_qname_t *qname = NULL;
         axis2_hash_t *namespcs = NULL;
@@ -355,7 +355,7 @@
     }
     must_understand = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_ATTR_MUSTUNDERSTAND);
-    if (NULL != must_understand && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, must_understand))
+    if (must_understand && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, must_understand))
         understood = AXIS2_TRUE;
     else
         understood = AXIS2_FALSE;
@@ -364,7 +364,7 @@
 
     req = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(ext_el, env,
             WODEN_ATTR_REQUIRED);
-    if (NULL != req && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, req))
+    if (req && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, req))
         required = AXIS2_TRUE;
     else
         required = AXIS2_FALSE;
@@ -379,7 +379,7 @@
     temp_el = axiom_util_get_first_child_element(ext_el, env, ext_el_node,
             &temp_el_node);
 
-    while (NULL != temp_el && NULL != temp_el_node)
+    while (temp_el && NULL != temp_el_node)
     {
         axis2_qname_t *q_elem_documentation = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_deserializer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_deserializer.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_deserializer.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_deserializer.c Mon Sep 18 18:39:03 2006
@@ -341,7 +341,7 @@
     el = AXIOM_NODE_GET_DATA_ELEMENT(el_node, env);
     ref = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(el, env,
             WODEN_ATTR_REF);
-    if (NULL != ref)
+    if (ref)
     {
         axis2_uri_t *uri = axis2_uri_parse_string(env, ref);
 
@@ -350,7 +350,7 @@
     }
     req = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(el, env,
             WODEN_ATTR_REQUIRED);
-    if (NULL != req && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, req))
+    if (req && 0 == AXIS2_STRCMP(WODEN_VALUE_TRUE, req))
         required = AXIS2_TRUE;
     else
         required = AXIS2_FALSE;
@@ -359,7 +359,7 @@
 
     temp_el = axiom_util_get_first_child_element(el, env, el_node,
             &temp_el_node);
-    while (NULL != temp_el && NULL != temp_el_node)
+    while (temp_el && NULL != temp_el_node)
     {
         axis2_qname_t *q_elem_documentation = NULL;
 

Modified: webservices/axis2/trunk/c/xml_schema/samples/test_schema.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/samples/test_schema.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/samples/test_schema.c (original)
+++ webservices/axis2/trunk/c/xml_schema/samples/test_schema.c Mon Sep 18 18:39:03 2006
@@ -45,16 +45,16 @@
     schema = XML_SCHEMA_COLLECTION_READ_DOCUMENT(
                 schema_collection, env, om_doc);
 
-    if (NULL != schema)
+    if (schema)
     {
         axis2_char_t *buffer = NULL;
         printf("\n parsing schema is successful \n");
         buffer = XML_SCHEMA_SERIALIZE(schema, env);
         printf("%s", buffer);
-        if (NULL != buffer)
+        if (buffer)
             AXIS2_FREE(env->allocator, buffer);
     }
-    if (NULL != schema_collection)
+    if (schema_collection)
     {
         XML_SCHEMA_COLLECTION_FREE(schema_collection, env);
     }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema.c Mon Sep 18 18:39:03 2006
@@ -311,7 +311,7 @@
     schema_impl->schema_ns_prefix = NULL;
     schema_impl->schema_root_node = NULL;
 
-    if (NULL != namespc)
+    if (namespc)
         schema_impl->target_namespace = AXIS2_STRDUP(namespc, env);
     if (!schema_impl->target_namespace)
     {
@@ -469,39 +469,39 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     schema_impl = AXIS2_INTF_TO_IMPL(schema);
 
-    if (NULL != schema_impl->attr_form_default)
+    if (schema_impl->attr_form_default)
     {
         XML_SCHEMA_FORM_FREE(schema_impl->attr_form_default, env);
         schema_impl->attr_form_default = NULL;
     }
-    if (NULL != schema_impl->element_form_default)
+    if (schema_impl->element_form_default)
     {
         XML_SCHEMA_FORM_FREE(schema_impl->element_form_default, env);
         schema_impl->element_form_default = NULL;
     }
-    if (NULL != schema_impl->block_default)
+    if (schema_impl->block_default)
     {
         XML_SCHEMA_DERIVATION_METHOD_FREE(schema_impl->block_default, env);
         schema_impl->block_default = NULL;
     }
-    if (NULL != schema_impl->final_default)
+    if (schema_impl->final_default)
     {
         XML_SCHEMA_DERIVATION_METHOD_FREE(schema_impl->final_default, env);
         schema_impl->final_default = NULL;
     }
-    if (NULL != schema_impl->elements)
+    if (schema_impl->elements)
     {
         axis2_hash_t *ht = NULL;
         axis2_hash_index_t *hi = NULL;
 
         ht = XML_SCHEMA_OBJ_TABLE_GET_HASH_TABLE(schema_impl->elements, env);
-        if (NULL != ht)
+        if (ht)
         {
             for (hi = axis2_hash_first(ht, env); hi; hi = axis2_hash_next(env, hi))
             {
                 void *val = NULL;
                 axis2_hash_this(hi, NULL, NULL, &val);
-                if (NULL != val)
+                if (val)
                 {
                     if (XML_SCHEMA_OBJ_GET_TYPE(val, env) == XML_SCHEMA_ELEMENT)
                     {
@@ -592,7 +592,7 @@
     AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK(env->error, prefix, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
 
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
@@ -600,12 +600,12 @@
         if (!schema_impl)
             return NULL;
     }
-    if (NULL != schema_impl->namespaces_map)
+    if (schema_impl->namespaces_map)
     {
         void *result = NULL;
         result = axis2_hash_get(schema_impl->namespaces_map, prefix,
                 AXIS2_HASH_KEY_STRING);
-        if (NULL != result)
+        if (result)
             return (axis2_char_t *)result ;
     }
     return NULL;
@@ -621,7 +621,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -642,14 +642,14 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
         if (!schema_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != schema_impl->attr_form_default)
+    if (schema_impl->attr_form_default)
     {
         /** TODO free*/
     }
@@ -667,7 +667,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -688,7 +688,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -708,7 +708,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -729,7 +729,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -737,7 +737,7 @@
             return AXIS2_FAILURE;
     }
 
-    if (NULL != schema_impl->block_default)
+    if (schema_impl->block_default)
     {}
     schema_impl->block_default = block_default;
     return AXIS2_SUCCESS;
@@ -753,7 +753,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -773,14 +773,14 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_PARAM_CHECK(env->error, element_form_default, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
         if (!schema_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != schema_impl->element_form_default)
+    if (schema_impl->element_form_default)
     {
         XML_SCHEMA_FORM_FREE(schema_impl->element_form_default, env);
         schema_impl->element_form_default = NULL;
@@ -799,7 +799,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
@@ -820,14 +820,14 @@
     AXIS2_PARAM_CHECK(env->error, qname, NULL);
 
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
         if (!schema_impl)
             return NULL;
     }
-    if (NULL != schema_impl->elements)
+    if (schema_impl->elements)
     {
         return XML_SCHEMA_OBJ_TABLE_GET_ITEM(
                     schema_impl->elements, env, qname);
@@ -848,14 +848,14 @@
 
     ht_super = XML_SCHEMA_SUPER_OBJS(schema, env);
 
-    if (NULL != ht_super)
+    if (ht_super)
     {
         schema_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
         if (!schema_impl)
             return NULL;
     }
-    if (NULL != schema_impl->schema_types)
+    if (schema_impl->schema_types)
     {
         return XML_SCHEMA_OBJ_TABLE_GET_ITEM(
                     schema_impl->schema_types, env, qname);
@@ -904,7 +904,7 @@
     if (!schema_impl)
         return AXIS2_FAILURE;
 
-    if (NULL != schema_impl->final_default)
+    if (schema_impl->final_default)
     {
         /** TODO free */
     }
@@ -1066,7 +1066,7 @@
             "XML_SCHEMA", AXIS2_HASH_KEY_STRING));
     if (!schema_impl)
         return AXIS2_FAILURE;
-    if (NULL != schema_impl->target_namespace)
+    if (schema_impl->target_namespace)
     {
         AXIS2_FREE(env->allocator, schema_impl->target_namespace);
         schema_impl->target_namespace = NULL;
@@ -1169,7 +1169,7 @@
 
     schema_impl = AXIS2_INTF_TO_IMPL(schema);
 
-    if (NULL != schema_impl->namespaces_map)
+    if (schema_impl->namespaces_map)
     {
         /** TODO */
     }
@@ -1193,7 +1193,7 @@
     schema_impl = AXIS2_INTF_TO_IMPL(schema);
 
     qname = XML_SCHEMA_TYPE_GET_QNAME(type, env);
-    if (NULL != qname && NULL != schema_impl->schema_types)
+    if (qname && NULL != schema_impl->schema_types)
     {
         if (XML_SCHEMA_OBJ_TABLE_CONTAINS(schema_impl->schema_types,
                 env, qname))
@@ -1218,7 +1218,7 @@
 
     sch_impl = AXIS2_INTF_TO_IMPL(schema);
 
-    if (NULL != sch_impl->schema_ns_prefix)
+    if (sch_impl->schema_ns_prefix)
     {
         AXIS2_FREE(env->allocator, sch_impl->schema_ns_prefix);
         sch_impl->schema_ns_prefix = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotated.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotated.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotated.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotated.c Mon Sep 18 18:39:03 2006
@@ -190,43 +190,43 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     annotated_impl = AXIS2_INTF_TO_IMPL(annotated);
 
-    if (NULL != annotated_impl->id)
+    if (annotated_impl->id)
     {
         AXIS2_FREE(env->allocator, annotated_impl->id);
         annotated_impl->id = NULL;
     }
 
-    if (NULL != annotated_impl->annotation)
+    if (annotated_impl->annotation)
     {
         XML_SCHEMA_ANNOTATION_FREE(annotated_impl->annotation, env);
         annotated_impl->annotation = NULL;
     }
 
-    if (NULL != annotated_impl->unhandled_attrs)
+    if (annotated_impl->unhandled_attrs)
     {
         /* TODO need to iterate and free attributes */
         AXIS2_ARRAY_LIST_FREE(annotated_impl->unhandled_attrs, env);
         annotated_impl->unhandled_attrs = NULL;
     }
 
-    if (NULL != annotated_impl->ht_super)
+    if (annotated_impl->ht_super)
     {
         axis2_hash_free(annotated_impl->ht_super, env);
         annotated_impl->ht_super = NULL;
     }
 
-    if (NULL != annotated_impl->schema_obj)
+    if (annotated_impl->schema_obj)
     {
         XML_SCHEMA_OBJ_FREE(annotated_impl->schema_obj, env);
         annotated_impl->schema_obj = NULL;
     }
 
-    if (NULL != annotated_impl->annotated.ops)
+    if (annotated_impl->annotated.ops)
     {
         AXIS2_FREE(env->allocator, annotated_impl->annotated.ops);
         annotated_impl->annotated.ops = NULL;
     }
-    if (NULL != annotated_impl->annotated.base.ops)
+    if (annotated_impl->annotated.base.ops)
     {
         AXIS2_FREE(env->allocator, annotated_impl->annotated.base.ops);
         annotated_impl->annotated.base.ops = NULL;
@@ -321,7 +321,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",
@@ -345,7 +345,7 @@
     AXIS2_PARAM_CHECK(env->error, id, AXIS2_FAILURE);
 
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",
@@ -371,7 +371,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",
@@ -392,7 +392,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",
@@ -400,7 +400,7 @@
         if (!annotated_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != annotated_impl->annotation)
+    if (annotated_impl->annotation)
     {
         /* TODO Free annotation
         XML_SCHEMA_ANNOTATED_FREE(annotated_impl->annotation, env);
@@ -419,7 +419,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",
@@ -440,7 +440,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_ANNOTATED_SUPER_OBJS(annotated, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         annotated_impl = (xml_schema_annotated_impl_t*)
                 axis2_hash_get(ht_super, "XML_SCHEMA_ANNOTATED",

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotation.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotation.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotation.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotation.c Mon Sep 18 18:39:03 2006
@@ -159,30 +159,30 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     annotation_impl = AXIS2_INTF_TO_IMPL(annotation);
 
-    if (NULL != annotation_impl->items)
+    if (annotation_impl->items)
     {
         XML_SCHEMA_OBJ_COLLECTION_FREE(annotation_impl->items, env);
         annotation_impl->items = NULL;
     }
 
-    if (NULL != annotation_impl->ht_super)
+    if (annotation_impl->ht_super)
     {
         axis2_hash_free(annotation_impl->ht_super, env);
         annotation_impl->ht_super = NULL;
     }
 
-    if (NULL != annotation_impl->schema_obj)
+    if (annotation_impl->schema_obj)
     {
         XML_SCHEMA_OBJ_FREE(annotation_impl->schema_obj, env);
         annotation_impl->schema_obj = NULL;
     }
 
-    if (NULL != annotation_impl->annotation.ops)
+    if (annotation_impl->annotation.ops)
     {
         AXIS2_FREE(env->allocator, annotation_impl->annotation.ops);
         annotation_impl->annotation.ops = NULL;
     }
-    if (NULL != annotation_impl->annotation.base.ops)
+    if (annotation_impl->annotation.base.ops)
     {
         AXIS2_FREE(env->allocator, annotation_impl->annotation.base.ops);
         annotation_impl->annotation.base.ops = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_any.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_any.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_any.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_any.c Mon Sep 18 18:39:03 2006
@@ -165,7 +165,7 @@
             AXIS2_HASH_KEY_STRING, any_impl->particle);
 
     annotated = XML_SCHEMA_PARTICLE_GET_BASE_IMPL(any_impl->particle, env);
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(any_impl->ht_super,
                 AXIS2_STRDUP("AXIS_XML_SCHEMA_ANNOTATED", env),
@@ -193,36 +193,36 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     any_impl = AXIS2_INTF_TO_IMPL(any);
 
-    if (NULL != any_impl->ns)
+    if (any_impl->ns)
     {
         AXIS2_FREE(env->allocator, any_impl->ns);
         any_impl->ns = NULL;
     }
 
-    if (NULL != any_impl->process_content)
+    if (any_impl->process_content)
     {
         XML_SCHEMA_CONTENT_PROCESSING_FREE(any_impl->process_content, env);
         any_impl->process_content = NULL;
     }
 
-    if (NULL != any_impl->ht_super)
+    if (any_impl->ht_super)
     {
         axis2_hash_free(any_impl->ht_super, env);
         any_impl->ht_super = NULL;
     }
 
-    if (NULL != any_impl->particle)
+    if (any_impl->particle)
     {
         XML_SCHEMA_PARTICLE_FREE(any_impl->particle, env);
         any_impl->particle = NULL;
     }
 
-    if (NULL != any_impl->any.ops)
+    if (any_impl->any.ops)
     {
         AXIS2_FREE(env->allocator, any_impl->any.ops);
         any_impl->any.ops = NULL;
     }
-    if (NULL != any_impl->any.base.ops)
+    if (any_impl->any.base.ops)
     {
         AXIS2_FREE(env->allocator, any_impl->any.base.ops);
         any_impl->any.base.ops = NULL;
@@ -316,7 +316,7 @@
     axis2_hash_t *ht_super = NULL;
 
     ht_super = XML_SCHEMA_ANY_SUPER_OBJS(any, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         any_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_ANY", AXIS2_HASH_KEY_STRING));
@@ -336,14 +336,14 @@
     AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
 
     ht_super = XML_SCHEMA_ANY_SUPER_OBJS(any, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         any_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_ANY", AXIS2_HASH_KEY_STRING));
         if (!any_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != any_impl->ns)
+    if (any_impl->ns)
     {
         AXIS2_FREE(env->allocator, any_impl->ns);
         any_impl->ns = NULL;
@@ -360,7 +360,7 @@
     axis2_hash_t *ht_super = NULL;
 
     ht_super = XML_SCHEMA_ANY_SUPER_OBJS(any, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         any_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_ANY", AXIS2_HASH_KEY_STRING));
@@ -383,7 +383,7 @@
 
     ht_super = XML_SCHEMA_ANY_SUPER_OBJS(any, env);
 
-    if (NULL != ht_super)
+    if (ht_super)
     {
         any_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_ANY", AXIS2_HASH_KEY_STRING));
@@ -391,7 +391,7 @@
             return AXIS2_FAILURE;
     }
 
-    if (NULL != any_impl->process_content)
+    if (any_impl->process_content)
     {
         XML_SCHEMA_CONTENT_PROCESSING_FREE(any_impl->process_content, env);
         any_impl->process_content = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_any_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_any_attribute.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_any_attribute.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_any_attribute.c Mon Sep 18 18:39:03 2006
@@ -186,34 +186,34 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     any_attr_impl = AXIS2_INTF_TO_IMPL(any_attr);
 
-    if (NULL != any_attr_impl->ns)
+    if (any_attr_impl->ns)
     {
         AXIS2_FREE(env->allocator, any_attr_impl->ns);
         any_attr_impl->ns = NULL;
     }
-    if (NULL != any_attr_impl->ht_super)
+    if (any_attr_impl->ht_super)
     {
         axis2_hash_free(any_attr_impl->ht_super, env);
         any_attr_impl->ht_super = NULL;
     }
-    if (NULL != any_attr_impl->process_content)
+    if (any_attr_impl->process_content)
     {
         XML_SCHEMA_CONTENT_PROCESSING_FREE(any_attr_impl->process_content, env);
         any_attr_impl->process_content = NULL;
     }
 
-    if (NULL != any_attr_impl->annotated)
+    if (any_attr_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(any_attr_impl->annotated, env);
         any_attr_impl->annotated = NULL;
     }
 
-    if (NULL != any_attr_impl->any_attr.ops)
+    if (any_attr_impl->any_attr.ops)
     {
         AXIS2_FREE(env->allocator, any_attr_impl->any_attr.ops);
         any_attr_impl->any_attr.ops = NULL;
     }
-    if (NULL != any_attr_impl->any_attr.base.ops)
+    if (any_attr_impl->any_attr.base.ops)
     {
         AXIS2_FREE(env->allocator, any_attr_impl->any_attr.base.ops);
         any_attr_impl->any_attr.base.ops = NULL;
@@ -255,7 +255,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     any_attr_impl = AXIS2_INTF_TO_IMPL(any_attr);
 
-    if (NULL != any_attr_impl->ns)
+    if (any_attr_impl->ns)
     {
         AXIS2_FREE(env->allocator, any_attr_impl->ns);
         any_attr_impl->ns = NULL;
@@ -285,7 +285,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     any_attr_impl = AXIS2_INTF_TO_IMPL(any_attr);
 
-    if (NULL != any_attr_impl->process_content)
+    if (any_attr_impl->process_content)
     {
         XML_SCHEMA_CONTENT_PROCESSING_FREE(
             any_attr_impl->process_content, env);

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_app_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_app_info.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_app_info.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_app_info.c Mon Sep 18 18:39:03 2006
@@ -180,7 +180,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     app_info_impl = AXIS2_INTF_TO_IMPL(app_info);
 
-    if (NULL != app_info_impl->source)
+    if (app_info_impl->source)
     {
         AXIS2_FREE(env->allocator, app_info_impl->source);
         app_info_impl->source = NULL;
@@ -188,29 +188,29 @@
 
     /* TODO Free markup */
 
-    if (NULL != app_info_impl->ht_super)
+    if (app_info_impl->ht_super)
     {
         axis2_hash_free(app_info_impl->ht_super, env);
         app_info_impl->ht_super = NULL;
     }
 
-    if (NULL != app_info_impl->schema_obj)
+    if (app_info_impl->schema_obj)
     {
         XML_SCHEMA_OBJ_FREE(app_info_impl->schema_obj, env);
         app_info_impl->schema_obj = NULL;
     }
 
-    if (NULL != app_info_impl->app_info.ops)
+    if (app_info_impl->app_info.ops)
     {
         AXIS2_FREE(env->allocator, app_info_impl->app_info.ops);
         app_info_impl->app_info.ops = NULL;
     }
-    if (NULL != app_info_impl->app_info.base.ops)
+    if (app_info_impl->app_info.base.ops)
     {
         AXIS2_FREE(env->allocator, app_info_impl->app_info.base.ops);
         app_info_impl->app_info.base.ops = NULL;
     }
-    if (NULL != app_info_impl)
+    if (app_info_impl)
     {
         AXIS2_FREE(env->allocator, app_info_impl);
         app_info_impl = NULL;
@@ -251,11 +251,11 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_USE_SUPER_OBJS(app_info, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         app_info_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_APP_INFO",
                 AXIS2_HASH_KEY_STRING));
-        if (NULL != app_info_impl)
+        if (app_info_impl)
             return  app_info_impl->source;
     }
 
@@ -273,15 +273,15 @@
     AXIS2_PARAM_CHECK(env->error, source, AXIS2_FAILURE);
 
     ht_super = XML_SCHEMA_USE_SUPER_OBJS(app_info, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         app_info_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_APP_INFO",
                 AXIS2_HASH_KEY_STRING));
-        if (NULL != app_info_impl)
+        if (app_info_impl)
             return  AXIS2_FAILURE;
     }
 
-    if (NULL != app_info_impl->source)
+    if (app_info_impl->source)
     {
         AXIS2_FREE(env->allocator, app_info_impl->source);
         app_info_impl->source = NULL;
@@ -305,11 +305,11 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_USE_SUPER_OBJS(app_info, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         app_info_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_APP_INFO",
                 AXIS2_HASH_KEY_STRING));
-        if (NULL != app_info_impl)
+        if (app_info_impl)
             return  NULL;
     }
     return app_info_impl->markup;
@@ -326,11 +326,11 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, markup, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_USE_SUPER_OBJS(app_info, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         app_info_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_APP_INFO",
                 AXIS2_HASH_KEY_STRING));
-        if (NULL != app_info_impl)
+        if (app_info_impl)
             return  AXIS2_FAILURE;
     }
     app_info_impl->markup = markup;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute.c Mon Sep 18 18:39:03 2006
@@ -310,54 +310,54 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
 
-    if (NULL != attr_impl->attribute_type)
+    if (attr_impl->attribute_type)
     {
         /* TODO */
     }
-    if (NULL != attr_impl->ht_super)
+    if (attr_impl->ht_super)
     {
         axis2_hash_free(attr_impl->ht_super, env);
         attr_impl->ht_super = NULL;
     }
-    if (NULL != attr_impl->default_value)
+    if (attr_impl->default_value)
     {
         AXIS2_FREE(env->allocator, attr_impl->default_value);
         attr_impl->default_value = NULL;
     }
-    if (NULL != attr_impl->default_value)
+    if (attr_impl->default_value)
     {
         AXIS2_FREE(env->allocator, attr_impl->fixed_value);
         attr_impl->fixed_value = NULL;
     }
-    if (NULL != attr_impl->name)
+    if (attr_impl->name)
     {
         AXIS2_FREE(env->allocator, attr_impl->name);
         attr_impl->name = NULL;
     }
 
-    if (NULL != attr_impl->form)
+    if (attr_impl->form)
     {
         XML_SCHEMA_FORM_FREE(attr_impl->form, env);
         attr_impl->form = NULL;
     }
-    if (NULL != attr_impl->use)
+    if (attr_impl->use)
     {
         XML_SCHEMA_USE_FREE(attr_impl->use, env);
         attr_impl->use = NULL;
     }
 
-    if (NULL != attr_impl->annotated)
+    if (attr_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(attr_impl->annotated, env);
         attr_impl->annotated = NULL;
     }
 
-    if (NULL != attr_impl->attr.ops)
+    if (attr_impl->attr.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->attr.ops);
         attr_impl->attr.ops = NULL;
     }
-    if (NULL != attr_impl->attr.base.ops)
+    if (attr_impl->attr.base.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->attr.base.ops);
         attr_impl->attr.base.ops = NULL;
@@ -418,7 +418,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, default_value, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->default_value)
+    if (attr_impl->default_value)
     {
         AXIS2_FREE(env->allocator, attr_impl->default_value);
         attr_impl->default_value = NULL;
@@ -442,7 +442,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, fixed_value, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->fixed_value)
+    if (attr_impl->fixed_value)
     {
         AXIS2_FREE(env->allocator, attr_impl->fixed_value);
         attr_impl->fixed_value = NULL;
@@ -466,7 +466,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, schema_form, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->form)
+    if (attr_impl->form)
     {
         /* TODO */
     }
@@ -490,7 +490,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, qualified_name, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->qualified_name)
+    if (attr_impl->qualified_name)
     {
         /* TODO */
     }
@@ -516,7 +516,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->name)
+    if (attr_impl->name)
     {
         AXIS2_FREE(env->allocator, attr_impl->name);
         attr_impl->name = NULL;
@@ -540,7 +540,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, ref_name, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->ref_name)
+    if (attr_impl->ref_name)
     {
         /* TODO */
     }
@@ -563,7 +563,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, sch_type, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->schema_type)
+    if (attr_impl->schema_type)
     {
         /* TODO */
     }
@@ -588,7 +588,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, sch_type_name, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->schema_type_name)
+    if (attr_impl->schema_type_name)
     {
         /* TODO */
     }
@@ -612,7 +612,7 @@
     xml_schema_attribute_impl_t *attr_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, use, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr);
-    if (NULL != attr_impl->use)
+    if (attr_impl->use)
     {
         /* TODO */
     }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group.c Mon Sep 18 18:39:03 2006
@@ -192,40 +192,40 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(attr_grp);
 
-    if (NULL != attr_impl->ht_super)
+    if (attr_impl->ht_super)
     {
         axis2_hash_free(attr_impl->ht_super, env);
         attr_impl->ht_super = NULL;
     }
-    if (NULL != attr_impl->any_attribute)
+    if (attr_impl->any_attribute)
     {
         XML_SCHEMA_ANY_ATTRIBUTE_FREE(attr_impl->any_attribute, env);
         attr_impl->any_attribute = NULL;
     }
-    if (NULL != attr_impl->attributes)
+    if (attr_impl->attributes)
     {
         /** TODO free individaul attributes */
         XML_SCHEMA_OBJ_COLLECTION_FREE(attr_impl->attributes, env);
         attr_impl->attributes = NULL;
     }
-    if (NULL != attr_impl->name)
+    if (attr_impl->name)
     {
         AXIS2_FREE(env->allocator, attr_impl->name);
         attr_impl->name = NULL;
     }
 
-    if (NULL != attr_impl->annotated)
+    if (attr_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(attr_impl->annotated, env);
         attr_impl->annotated = NULL;
     }
 
-    if (NULL != attr_impl->attr_grp.ops)
+    if (attr_impl->attr_grp.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->attr_grp.ops);
         attr_impl->attr_grp.ops = NULL;
     }
-    if (NULL != attr_impl->attr_grp.base.ops)
+    if (attr_impl->attr_grp.base.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->attr_grp.base.ops);
         attr_impl->attr_grp.base.ops = NULL;
@@ -278,7 +278,7 @@
     xml_schema_attribute_group_impl_t *attr_grp_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, any_attr, AXIS2_FAILURE);
     attr_grp_impl = AXIS2_INTF_TO_IMPL(attr_grp);
-    if (NULL != attr_grp_impl->any_attribute)
+    if (attr_grp_impl->any_attribute)
     {
         /** TODO */
     }
@@ -301,7 +301,7 @@
     xml_schema_attribute_group_impl_t *attr_grp_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, attrs, AXIS2_FAILURE);
     attr_grp_impl = AXIS2_INTF_TO_IMPL(attr_grp);
-    if (NULL != attr_grp_impl->attributes)
+    if (attr_grp_impl->attributes)
     {
         /** TODO */
     }
@@ -324,7 +324,7 @@
     xml_schema_attribute_group_impl_t *attr_grp_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
     attr_grp_impl = AXIS2_INTF_TO_IMPL(attr_grp);
-    if (NULL != attr_grp_impl->name)
+    if (attr_grp_impl->name)
     {
         AXIS2_FREE(env->allocator, attr_grp_impl->name);
         attr_grp_impl->name = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c Mon Sep 18 18:39:03 2006
@@ -165,29 +165,29 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(grp_ref);
 
-    if (NULL != attr_impl->ht_super)
+    if (attr_impl->ht_super)
     {
         axis2_hash_free(attr_impl->ht_super, env);
         attr_impl->ht_super = NULL;
     }
-    if (NULL != attr_impl->ref_qname)
+    if (attr_impl->ref_qname)
     {
         AXIS2_QNAME_FREE(attr_impl->ref_qname, env);
         attr_impl->ref_qname = NULL;
     }
 
-    if (NULL != attr_impl->annotated)
+    if (attr_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(attr_impl->annotated, env);
         attr_impl->annotated = NULL;
     }
 
-    if (NULL != attr_impl->grp_ref.ops)
+    if (attr_impl->grp_ref.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->grp_ref.ops);
         attr_impl->grp_ref.ops = NULL;
     }
-    if (NULL != attr_impl->grp_ref.base.ops)
+    if (attr_impl->grp_ref.base.ops)
     {
         AXIS2_FREE(env->allocator, attr_impl->grp_ref.base.ops);
         attr_impl->grp_ref.base.ops = NULL;
@@ -243,7 +243,7 @@
     xml_schema_attribute_group_ref_impl_t *attr_grp_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, ref_qname, AXIS2_FAILURE);
     attr_grp_impl = AXIS2_INTF_TO_IMPL(grp_ref);
-    if (NULL != attr_grp_impl->ref_qname)
+    if (attr_grp_impl->ref_qname)
     {
         /** TODO */
     }



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


Mime
View raw message