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 sa...@apache.org on 2006/09/19 03:39:11 UTC

svn commit: r447671 [8/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/...

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_external.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_external.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_external.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_external.c Mon Sep 18 18:39:03 2006
@@ -180,23 +180,23 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     external_impl = AXIS2_INTF_TO_IMPL(external);
 
-    if (NULL != external_impl->ht_super)
+    if (external_impl->ht_super)
     {
         axis2_hash_free(external_impl->ht_super, env);
         external_impl->ht_super = NULL;
     }
-    if (NULL != external_impl->annotated)
+    if (external_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(external_impl->annotated, env);
         external_impl->annotated = NULL;
     }
 
-    if (NULL != external_impl->external.ops)
+    if (external_impl->external.ops)
     {
         AXIS2_FREE(env->allocator, external_impl->external.ops);
         external_impl->external.ops = NULL;
     }
-    if (NULL != external_impl->external.base.ops)
+    if (external_impl->external.base.ops)
     {
         AXIS2_FREE(env->allocator, external_impl->external.base.ops);
         external_impl->external.base.ops = NULL;
@@ -261,7 +261,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_EXTERNAL_SUPER_OBJS(external, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
 
         ext_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
@@ -281,7 +281,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_EXTERNAL_SUPER_OBJS(external, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
 
         ext_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
@@ -289,7 +289,7 @@
         if (!ext_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != ext_impl->schema)
+    if (ext_impl->schema)
     {
         /*
         XML_SCHEMA_FREE(ext_impl->schema, env);
@@ -322,7 +322,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_EXTERNAL_SUPER_OBJS(external, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
 
         ext_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
@@ -343,7 +343,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, location, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_EXTERNAL_SUPER_OBJS(external, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
 
         ext_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
@@ -351,7 +351,7 @@
         if (!ext_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != ext_impl->schema_location)
+    if (ext_impl->schema_location)
     {
         AXIS2_FREE(env->allocator, ext_impl->schema_location);
         ext_impl->schema_location = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_facet.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_facet.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_facet.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_facet.c Mon Sep 18 18:39:03 2006
@@ -184,23 +184,23 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     facet_impl = AXIS2_INTF_TO_IMPL(facet);
 
-    if (NULL != facet_impl->annotated)
+    if (facet_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(facet_impl->annotated, env);
         facet_impl->annotated = NULL;
     }
 
-    if (NULL != facet_impl->facet.ops)
+    if (facet_impl->facet.ops)
     {
         AXIS2_FREE(env->allocator, facet_impl->facet.ops);
         facet_impl->facet.ops = NULL;
     }
-    if (NULL != facet_impl->facet.base.ops)
+    if (facet_impl->facet.base.ops)
     {
         AXIS2_FREE(env->allocator, facet_impl->facet.base.ops);
         facet_impl->facet.base.ops = NULL;
     }
-    if (NULL != facet_impl)
+    if (facet_impl)
     {
         AXIS2_FREE(env->allocator, facet_impl);
         facet_impl = NULL;
@@ -252,7 +252,7 @@
     xml_schema_facet_impl_t *facet_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     facet_impl =  AXIS2_INTF_TO_IMPL(facet);
-    if (NULL != facet_impl->value)
+    if (facet_impl->value)
     {
         AXIS2_FREE(env->allocator, facet_impl->value);
         facet_impl->value = NULL;
@@ -341,18 +341,18 @@
         return NULL;
 
     attr_value = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(om_ele, env, fixed_value);
-    if (NULL != attr_value && AXIS2_STRCMP(attr_value, "fixed") == 0)
+    if (attr_value && AXIS2_STRCMP(attr_value, "fixed") == 0)
         is_fixed = AXIS2_TRUE;
 
     attr_value = NULL;
     attr_value = AXIOM_ELEMENT_GET_ATTRIBUTE_VALUE_BY_NAME(om_ele, env, value_v);
-    if (NULL != attr_value)
+    if (attr_value)
         value = attr_value;
     else
         return NULL;
 
     facet = xml_schema_facet_create(env, value, is_fixed, facet_type);
-    if (NULL != facet)
+    if (facet)
         return facet;
     return NULL;
 }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_form.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_form.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_form.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_form.c Mon Sep 18 18:39:03 2006
@@ -186,7 +186,7 @@
         {
             axis2_char_t *value = NULL;
             value = (axis2_char_t*) AXIS2_ARRAY_LIST_GET(form_impl->members, env, i);
-            if (NULL != value)
+            if (value)
             {
                 AXIS2_FREE(env->allocator, value);
                 value = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_group.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_group.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_group.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_group.c Mon Sep 18 18:39:03 2006
@@ -160,37 +160,37 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     group_impl = AXIS2_INTF_TO_IMPL(group);
 
-    if (NULL != group_impl->name)
+    if (group_impl->name)
     {
         AXIS2_FREE(env->allocator, group_impl->name);
         group_impl->name = NULL;
     }
 
-    if (NULL != group_impl->particle)
+    if (group_impl->particle)
     {
         XML_SCHEMA_PARTICLE_FREE(group_impl->particle, env);
         group_impl->particle = NULL;
     }
 
-    if (NULL != group_impl->ht_super)
+    if (group_impl->ht_super)
     {
         axis2_hash_free(group_impl->ht_super, env);
         group_impl->ht_super = NULL;
     }
 
 
-    if (NULL != group_impl->annotated)
+    if (group_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(group_impl->annotated, env);
         group_impl->annotated = NULL;
     }
 
-    if (NULL != group_impl->group.ops)
+    if (group_impl->group.ops)
     {
         AXIS2_FREE(env->allocator, group_impl->group.ops);
         group_impl->group.ops = NULL;
     }
-    if (NULL != group_impl->group.base.ops)
+    if (group_impl->group.base.ops)
     {
         AXIS2_FREE(env->allocator, group_impl->group.base.ops);
         group_impl->group.base.ops = NULL;
@@ -250,7 +250,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     group_impl = AXIS2_INTF_TO_IMPL(group);
-    if (NULL != group_impl->name)
+    if (group_impl->name)
     {
         AXIS2_FREE(env->allocator, group_impl->name);
         group_impl->name = NULL;
@@ -278,7 +278,7 @@
 {
     xml_schema_group_impl_t *group_impl = NULL;
     group_impl = AXIS2_INTF_TO_IMPL(group);
-    if (NULL != group_impl->particle)
+    if (group_impl->particle)
     {
         group_impl->particle = NULL;
     }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_base.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_base.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_base.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_base.c Mon Sep 18 18:39:03 2006
@@ -143,7 +143,7 @@
             AXIS2_HASH_KEY_STRING, group_base_impl->particle);
 
     annotated = XML_SCHEMA_PARTICLE_GET_BASE_IMPL(group_base_impl->particle, env);
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(group_base_impl->ht_super, AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
                 AXIS2_HASH_KEY_STRING, annotated);
@@ -199,30 +199,30 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     group_base_impl = AXIS2_INTF_TO_IMPL(group_base);
 
-    if (NULL != group_base_impl->items)
+    if (group_base_impl->items)
     {
         XML_SCHEMA_OBJ_COLLECTION_FREE(group_base_impl->items, env);
         group_base_impl->items = NULL;
     }
 
-    if (NULL != group_base_impl->ht_super)
+    if (group_base_impl->ht_super)
     {
         axis2_hash_free(group_base_impl->ht_super, env);
         group_base_impl->ht_super = NULL;
     }
 
-    if (NULL != group_base_impl->particle)
+    if (group_base_impl->particle)
     {
         XML_SCHEMA_PARTICLE_FREE(group_base_impl->particle, env);
         group_base_impl->particle = NULL;
     }
 
-    if (NULL != group_base_impl->group_base.ops)
+    if (group_base_impl->group_base.ops)
     {
         AXIS2_FREE(env->allocator, group_base_impl->group_base.ops);
         group_base_impl->group_base.ops = NULL;
     }
-    if (NULL != group_base_impl->group_base.base.ops)
+    if (group_base_impl->group_base.base.ops)
     {
         AXIS2_FREE(env->allocator, group_base_impl->group_base.base.ops);
         group_base_impl->group_base.base.ops = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_ref.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_ref.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_ref.c Mon Sep 18 18:39:03 2006
@@ -163,7 +163,7 @@
             AXIS2_HASH_KEY_STRING, group_ref_impl->particle);
 
     annotated = XML_SCHEMA_PARTICLE_GET_BASE_IMPL(group_ref_impl->particle, env);
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(group_ref_impl->ht_super, AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
                 AXIS2_HASH_KEY_STRING, annotated);
@@ -189,36 +189,36 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     group_ref_impl = AXIS2_INTF_TO_IMPL(group_ref);
 
-    if (NULL != group_ref_impl->ref_qname)
+    if (group_ref_impl->ref_qname)
     {
         AXIS2_FREE(env->allocator, group_ref_impl->ref_qname);
         group_ref_impl->ref_qname = NULL;
     }
 
-    if (NULL != group_ref_impl->particle)
+    if (group_ref_impl->particle)
     {
         XML_SCHEMA_GROUP_BASE_FREE(group_ref_impl->particle, env);
         group_ref_impl->particle = NULL;
     }
 
-    if (NULL != group_ref_impl->ht_super)
+    if (group_ref_impl->ht_super)
     {
         axis2_hash_free(group_ref_impl->ht_super, env);
         group_ref_impl->ht_super = NULL;
     }
 
-    if (NULL != group_ref_impl->base)
+    if (group_ref_impl->base)
     {
         XML_SCHEMA_PARTICLE_FREE(group_ref_impl->base, env);
         group_ref_impl->base = NULL;
     }
 
-    if (NULL != group_ref_impl->group_ref.base.ops)
+    if (group_ref_impl->group_ref.base.ops)
     {
         AXIS2_FREE(env->allocator, group_ref_impl->group_ref.base.ops);
         group_ref_impl->group_ref.base.ops = NULL;
     }
-    if (NULL != group_ref_impl->group_ref.ops)
+    if (group_ref_impl->group_ref.ops)
     {
         AXIS2_FREE(env->allocator, group_ref_impl->group_ref.ops);
         group_ref_impl->group_ref.ops = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_identity_constraint.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_identity_constraint.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_identity_constraint.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_identity_constraint.c Mon Sep 18 18:39:03 2006
@@ -225,46 +225,46 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     id_cns_impl = AXIS2_INTF_TO_IMPL(id_constr);
 
-    if (NULL != id_cns_impl->name)
+    if (id_cns_impl->name)
     {
         AXIS2_FREE(env->allocator, id_cns_impl->name);
         id_cns_impl->name = NULL;
     }
 
-    if (NULL != id_cns_impl->selector)
+    if (id_cns_impl->selector)
     {
         XML_SCHEMA_XPATH_FREE(id_cns_impl->selector, env);
         id_cns_impl->selector = NULL;
     }
 
-    if (NULL != id_cns_impl->ht_super)
+    if (id_cns_impl->ht_super)
     {
         axis2_hash_free(id_cns_impl->ht_super, env);
         id_cns_impl->ht_super = NULL;
     }
-    if (NULL != id_cns_impl->refer)
+    if (id_cns_impl->refer)
     {
         AXIS2_QNAME_FREE(id_cns_impl->refer, env);
         id_cns_impl->refer = NULL;
     }
-    if (NULL != id_cns_impl->annotated)
+    if (id_cns_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(id_cns_impl->annotated, env);
         id_cns_impl->annotated = NULL;
     }
 
-    if (NULL != id_cns_impl->id_constr.ops)
+    if (id_cns_impl->id_constr.ops)
     {
         AXIS2_FREE(env->allocator, id_cns_impl->id_constr.ops);
         id_cns_impl->id_constr.ops = NULL;
     }
-    if (NULL != id_cns_impl->id_constr.base.ops)
+    if (id_cns_impl->id_constr.base.ops)
     {
         AXIS2_FREE(env->allocator, id_cns_impl->id_constr.base.ops);
         id_cns_impl->id_constr.base.ops = NULL;
     }
 
-    if (NULL != id_cns_impl)
+    if (id_cns_impl)
     {
         AXIS2_FREE(env->allocator, id_cns_impl);
         id_cns_impl = NULL;
@@ -419,7 +419,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, refer, AXIS2_FAILURE);
     id_cns_impl = AXIS2_INTF_TO_IMPL(id_constr);
-    if (NULL != id_cns_impl->refer)
+    if (id_cns_impl->refer)
     {
         /*
         AXIS2_QNAME_FREE(id_cns_impl->reref, env);

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_import.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_import.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_import.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_import.c Mon Sep 18 18:39:03 2006
@@ -132,7 +132,7 @@
             AXIS2_HASH_KEY_STRING, import_impl->external);
 
     annotated = XML_SCHEMA_EXTERNAL_GET_BASE_IMPL(import_impl->external, env);
-    if (NULL != annotated)
+    if (annotated)
     {
 
         axis2_hash_set(import_impl->ht_super, AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
@@ -159,23 +159,23 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     import_impl = AXIS2_INTF_TO_IMPL(import);
 
-    if (NULL != import_impl->ht_super)
+    if (import_impl->ht_super)
     {
         axis2_hash_free(import_impl->ht_super, env);
         import_impl->ht_super = NULL;
     }
-    if (NULL != import_impl->external)
+    if (import_impl->external)
     {
         XML_SCHEMA_EXTERNAL_FREE(import_impl->external, env);
         import_impl->external = NULL;
     }
 
-    if (NULL != import_impl->import.ops)
+    if (import_impl->import.ops)
     {
         AXIS2_FREE(env->allocator, import_impl->import.ops);
         import_impl->import.ops = NULL;
     }
-    if (NULL != import_impl->import.base.ops)
+    if (import_impl->import.base.ops)
     {
         AXIS2_FREE(env->allocator, import_impl->import.base.ops);
         import_impl->import.base.ops = NULL;
@@ -213,7 +213,7 @@
     xml_schema_import_impl_t *import_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     import_impl = AXIS2_INTF_TO_IMPL(import);
-    if (NULL != import_impl->ns)
+    if (import_impl->ns)
     {
         AXIS2_FREE(env->allocator, ns);
         import_impl->ns = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_input_source.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_input_source.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_input_source.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_input_source.c Mon Sep 18 18:39:03 2006
@@ -141,17 +141,17 @@
 {
     xml_schema_input_source_impl_t *input_source_impl = NULL;
     input_source_impl = AXIS2_INTF_TO_IMPL(source);
-    if (NULL != input_source_impl->public_id)
+    if (input_source_impl->public_id)
     {
         AXIS2_FREE(env->allocator, input_source_impl->public_id);
         input_source_impl->public_id = NULL;
     }
-    if (NULL != input_source_impl->encoing)
+    if (input_source_impl->encoing)
     {
         AXIS2_FREE(env->allocator, input_source_impl->encoing);
         input_source_impl->encoing = NULL;
     }
-    if (NULL != input_source_impl->system_id)
+    if (input_source_impl->system_id)
     {
         AXIS2_FREE(env->allocator, input_source_impl->system_id);
         input_source_impl->system_id = NULL;
@@ -178,7 +178,7 @@
 {
     xml_schema_input_source_impl_t *input_source = NULL;
     input_source = AXIS2_INTF_TO_IMPL(source);
-    if (NULL != input_source->system_id)
+    if (input_source->system_id)
     {
         AXIS2_FREE(env->allocator, input_source->system_id);
         input_source->system_id = NULL;
@@ -205,7 +205,7 @@
 {
     xml_schema_input_source_impl_t *input_source = NULL;
     input_source = AXIS2_INTF_TO_IMPL(source);
-    if (NULL != input_source->public_id)
+    if (input_source->public_id)
     {
         AXIS2_FREE(env->allocator, input_source->public_id);
         input_source->public_id = NULL;
@@ -222,7 +222,7 @@
 {
     xml_schema_input_source_impl_t *input_source = NULL;
     input_source = AXIS2_INTF_TO_IMPL(source);
-    if (NULL != input_source->encoing)
+    if (input_source->encoing)
     {
         AXIS2_FREE(env->allocator, input_source->encoing);
         input_source->encoing = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj.c Mon Sep 18 18:39:03 2006
@@ -191,7 +191,7 @@
 
     obj_impl = AXIS2_INTF_TO_IMPL(obj);
 
-    if (NULL != obj_impl->source_uri)
+    if (obj_impl->source_uri)
     {
         AXIS2_FREE(env->allocator, obj_impl->source_uri);
         obj_impl->source_uri = NULL;
@@ -203,13 +203,13 @@
         obj_impl->ht_super = NULL;
     }
 
-    if (NULL != obj_impl->obj.ops)
+    if (obj_impl->obj.ops)
     {
         AXIS2_FREE(env->allocator, obj_impl->obj.ops);
         obj_impl->obj.ops = NULL;
     }
 
-    if (NULL != obj_impl)
+    if (obj_impl)
     {
         AXIS2_FREE(env->allocator, obj_impl);
         obj_impl = NULL;
@@ -296,11 +296,11 @@
     axis2_hash_t *super = NULL;
 
     super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != super)
+    if (super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super,
                 "XML_SCHEMA_OBJ", AXIS2_HASH_KEY_STRING));
-        if (NULL != obj_impl)
+        if (obj_impl)
             return obj_impl->line_num;
     }
     return -1;
@@ -315,7 +315,7 @@
     axis2_hash_t *super = NULL;
 
     super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != super)
+    if (super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super, "XML_SCHEMA_OBJ",
                 AXIS2_HASH_KEY_STRING));
@@ -337,7 +337,7 @@
     axis2_hash_t *super = NULL;
 
     super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != super)
+    if (super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super, "XML_SCHEMA_OBJ",
                 AXIS2_HASH_KEY_STRING));
@@ -354,11 +354,11 @@
     axis2_hash_t *super = NULL;
 
     super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != super)
+    if (super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super, "XML_SCHEMA_OBJ",
                 AXIS2_HASH_KEY_STRING));
-        if (NULL != obj_impl)
+        if (obj_impl)
             obj_impl->line_pos = line_pos;
     }
     return AXIS2_SUCCESS;
@@ -388,7 +388,7 @@
     obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super, "XML_SCHEMA_OBJ",
             AXIS2_HASH_KEY_STRING));
 
-    if (NULL != obj_impl->source_uri)
+    if (obj_impl->source_uri)
     {
         AXIS2_FREE(env->allocator, obj_impl->source_uri);
         obj_impl->source_uri = NULL;
@@ -426,7 +426,7 @@
     axis2_hash_t *ht_super = NULL;
 
     ht_super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_OBJ",
                 AXIS2_HASH_KEY_STRING));
@@ -453,7 +453,7 @@
     xml_schema_obj_impl_t *obj_impl = NULL;
     axis2_hash_t *ht_super = NULL;
     ht_super = XML_SCHEMA_OBJ_SUPER_OBJS(obj, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         obj_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super, "XML_SCHEMA_OBJ",
                 AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_collection.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_collection.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_collection.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_collection.c Mon Sep 18 18:39:03 2006
@@ -150,13 +150,13 @@
 
     obj_collection_impl = AXIS2_INTF_TO_IMPL(obj_collection);
 
-    if (NULL != obj_collection_impl->objs)
+    if (obj_collection_impl->objs)
     {
         AXIS2_ARRAY_LIST_FREE(obj_collection_impl->objs, env);
         obj_collection_impl->objs = NULL;
     }
 
-    if (NULL != obj_collection_impl->obj_collection.ops)
+    if (obj_collection_impl->obj_collection.ops)
     {
         AXIS2_FREE(env->allocator, obj_collection_impl->obj_collection.ops);
         obj_collection_impl->obj_collection.ops = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_table.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_table.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_table.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_table.c Mon Sep 18 18:39:03 2006
@@ -154,25 +154,25 @@
 
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
 
-    if (NULL != obj_table_impl->names)
+    if (obj_table_impl->names)
     {
         AXIS2_ARRAY_LIST_FREE(obj_table_impl->names, env);
         obj_table_impl->names = NULL;
     }
 
-    if (NULL != obj_table_impl->values)
+    if (obj_table_impl->values)
     {
         AXIS2_ARRAY_LIST_FREE(obj_table_impl->values, env);
         obj_table_impl->values = NULL;
     }
 
-    if (NULL != obj_table_impl->collection)
+    if (obj_table_impl->collection)
     {
         axis2_hash_free(obj_table_impl->collection, env);
         obj_table_impl->collection = NULL;
     }
 
-    if (NULL != obj_table_impl->obj_table.ops)
+    if (obj_table_impl->obj_table.ops)
     {
         AXIS2_FREE(env->allocator, obj_table_impl->obj_table.ops);
         obj_table_impl->obj_table.ops = NULL;
@@ -190,7 +190,7 @@
     xml_schema_obj_table_impl_t *obj_table_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
-    if (NULL != obj_table_impl->collection)
+    if (obj_table_impl->collection)
     {
         return axis2_hash_count(obj_table_impl->collection);
     }
@@ -212,7 +212,7 @@
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
 
     name = AXIS2_QNAME_TO_STRING(qname, env);
-    if (NULL != name)
+    if (name)
     {
         return axis2_hash_get(obj_table_impl->collection, name,
                 AXIS2_HASH_KEY_STRING);
@@ -230,7 +230,7 @@
     AXIS2_ENV_CHECK(env, NULL);
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
 
-    if (NULL != obj_table_impl->names)
+    if (obj_table_impl->names)
     {
         AXIS2_ARRAY_LIST_FREE(obj_table_impl->names, env);
         obj_table_impl->names = NULL;
@@ -266,7 +266,7 @@
     AXIS2_ENV_CHECK(env, NULL);
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
 
-    if (NULL != obj_table_impl->values)
+    if (obj_table_impl->values)
     {
         AXIS2_ARRAY_LIST_FREE(obj_table_impl->values, env);
         obj_table_impl->values = NULL;
@@ -303,11 +303,11 @@
     AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
     name = AXIS2_QNAME_TO_STRING(qname, env);
-    if (NULL != name)
+    if (name)
     {
         value = axis2_hash_get(obj_table_impl->collection, name,
                 AXIS2_HASH_KEY_STRING);
-        if (NULL != value)
+        if (value)
             return AXIS2_TRUE;
     }
 
@@ -328,7 +328,7 @@
     AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);
     obj_table_impl = AXIS2_INTF_TO_IMPL(obj_table);
     name = AXIS2_QNAME_TO_STRING(qname, env);
-    if (NULL != name)
+    if (name)
     {
         axis2_hash_set(obj_table_impl->collection,
                 name, AXIS2_HASH_KEY_STRING, value);

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_particle.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_particle.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_particle.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_particle.c Mon Sep 18 18:39:03 2006
@@ -186,7 +186,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     particle_impl = AXIS2_INTF_TO_IMPL(particle);
 
-    if (NULL != particle_impl->ht_super)
+    if (particle_impl->ht_super)
     {
         axis2_hash_free(particle_impl->ht_super, env);
         particle_impl->ht_super = NULL;
@@ -194,24 +194,24 @@
 
 
 
-    if (NULL != particle_impl->annotated)
+    if (particle_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(particle_impl->annotated, env);
         particle_impl->annotated = NULL;
     }
 
-    if (NULL != particle_impl->particle.ops)
+    if (particle_impl->particle.ops)
     {
         AXIS2_FREE(env->allocator, particle_impl->particle.ops);
         particle_impl->particle.ops = NULL;
     }
-    if (NULL != particle_impl->particle.base.ops)
+    if (particle_impl->particle.base.ops)
     {
         AXIS2_FREE(env->allocator, particle_impl->particle.base.ops);
         particle_impl->particle.base.ops = NULL;
     }
 
-    if (NULL != particle_impl)
+    if (particle_impl)
     {
         AXIS2_FREE(env->allocator, particle_impl);
         particle_impl = NULL;
@@ -303,7 +303,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_PARTICLE_SUPER_OBJS(particle, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         particle_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_PARTICLE", AXIS2_HASH_KEY_STRING));
@@ -323,7 +323,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_PARTICLE_SUPER_OBJS(particle, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         particle_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_PARTICLE", AXIS2_HASH_KEY_STRING));
@@ -344,7 +344,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_PARTICLE_SUPER_OBJS(particle, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         particle_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_PARTICLE", AXIS2_HASH_KEY_STRING));
@@ -365,7 +365,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_PARTICLE_SUPER_OBJS(particle, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         particle_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_PARTICLE", AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_redefine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_redefine.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_redefine.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_redefine.c Mon Sep 18 18:39:03 2006
@@ -163,7 +163,7 @@
             AXIS2_HASH_KEY_STRING, redefine_impl->external);
 
     annotated = XML_SCHEMA_EXTERNAL_GET_BASE_IMPL(redefine_impl->external, env);
-    if (NULL != redefine_impl->external)
+    if (redefine_impl->external)
     {
 
         axis2_hash_set(redefine_impl->ht_super, "XML_SCHEMA_ANNOTATED",
@@ -192,24 +192,24 @@
     redefine_impl = AXIS2_INTF_TO_IMPL(redefine);
 
 
-    if (NULL != redefine_impl->ht_super)
+    if (redefine_impl->ht_super)
     {
         axis2_hash_free(redefine_impl->ht_super, env);
         redefine_impl->ht_super = NULL;
     }
 
-    if (NULL != redefine_impl->external)
+    if (redefine_impl->external)
     {
         XML_SCHEMA_EXTERNAL_FREE(redefine_impl->external, env);
         redefine_impl->external = NULL;
     }
 
-    if (NULL != redefine_impl->redefine.ops)
+    if (redefine_impl->redefine.ops)
     {
         AXIS2_FREE(env->allocator, redefine_impl->redefine.ops);
         redefine_impl->redefine.ops = NULL;
     }
-    if (NULL != redefine_impl->redefine.base.ops)
+    if (redefine_impl->redefine.base.ops)
     {
         AXIS2_FREE(env->allocator, redefine_impl->redefine.base.ops);
         redefine_impl->redefine.base.ops = NULL;
@@ -281,7 +281,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, group, AXIS2_FAILURE);
     red_impl = AXIS2_INTF_TO_IMPL(redefine);
-    if (NULL != red_impl->groups)
+    if (red_impl->groups)
     {}
     red_impl->groups = group;
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content.c Mon Sep 18 18:39:03 2006
@@ -159,28 +159,28 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     sim_cnt_impl = AXIS2_INTF_TO_IMPL(sim_content);
 
-    if (NULL != sim_cnt_impl->content)
+    if (sim_cnt_impl->content)
     {
         /** TODO */
     }
 
 
-    if (NULL != sim_cnt_impl->annotated)
+    if (sim_cnt_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(sim_cnt_impl->annotated, env);
         sim_cnt_impl->annotated = NULL;
     }
-    if (NULL != sim_cnt_impl->ht_super)
+    if (sim_cnt_impl->ht_super)
     {
         axis2_hash_free(sim_cnt_impl->ht_super, env);
         sim_cnt_impl->ht_super = NULL;
     }
-    if (NULL != sim_cnt_impl->sim_content.base.ops)
+    if (sim_cnt_impl->sim_content.base.ops)
     {
         AXIS2_FREE(env->allocator, sim_cnt_impl->sim_content.base.ops);
         sim_cnt_impl->sim_content.base.ops = NULL;
     }
-    if (NULL != sim_cnt_impl->sim_content.ops)
+    if (sim_cnt_impl->sim_content.ops)
     {
         AXIS2_FREE(env->allocator, sim_cnt_impl->sim_content.ops);
         sim_cnt_impl->sim_content.ops = NULL;
@@ -222,7 +222,7 @@
 
     sim_cnt_impl = AXIS2_INTF_TO_IMPL(sim_content);
 
-    if (NULL != sim_cnt_impl->content)
+    if (sim_cnt_impl->content)
     {
         /** TODO */
 
@@ -242,7 +242,7 @@
     AXIS2_ENV_CHECK(env, NULL);
 
     sim_cnt_impl = AXIS2_INTF_TO_IMPL(sim_content);
-    if (NULL != prefix && AXIS2_STRCMP(prefix, "") != 0 && strchr(prefix, ':') == NULL)
+    if (prefix && AXIS2_STRCMP(prefix, "") != 0 && strchr(prefix, ':') == NULL)
     {
         xml = AXIS2_STRACAT(prefix, ":", env);
     }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_extension.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_extension.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_extension.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_extension.c Mon Sep 18 18:39:03 2006
@@ -202,31 +202,31 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     content_ext_impl = AXIS2_INTF_TO_IMPL(sim_content_ext_ext);
-    if (NULL != content_ext_impl->any_attribute)
+    if (content_ext_impl->any_attribute)
     {
         XML_SCHEMA_ANY_ATTRIBUTE_FREE(content_ext_impl->any_attribute, env);
         content_ext_impl->any_attribute = NULL;
     }
-    if (NULL != content_ext_impl->attributes)
+    if (content_ext_impl->attributes)
     {
         /** TODO free attributes */
     }
-    if (NULL != content_ext_impl->base_type_name)
+    if (content_ext_impl->base_type_name)
     {
         AXIS2_QNAME_FREE(content_ext_impl->base_type_name, env);
         content_ext_impl->base_type_name = NULL;
     }
-    if (NULL != content_ext_impl->annotated)
+    if (content_ext_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(content_ext_impl->annotated, env);
         content_ext_impl->annotated = NULL;
     }
-    if (NULL != content_ext_impl->sim_content_ext.base.ops)
+    if (content_ext_impl->sim_content_ext.base.ops)
     {
         AXIS2_FREE(env->allocator, content_ext_impl->sim_content_ext.base.ops);
         content_ext_impl->sim_content_ext.base.ops = NULL;
     }
-    if (NULL != content_ext_impl->sim_content_ext.ops)
+    if (content_ext_impl->sim_content_ext.ops)
     {
         AXIS2_FREE(env->allocator, content_ext_impl->sim_content_ext.ops);
         content_ext_impl->sim_content_ext.ops = NULL;
@@ -271,7 +271,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, any_attr, AXIS2_FAILURE);
-    if (NULL != content_ext_impl->any_attribute)
+    if (content_ext_impl->any_attribute)
     {
         XML_SCHEMA_ANY_ATTRIBUTE_FREE(content_ext_impl->any_attribute, env);
         content_ext_impl->any_attribute = NULL;
@@ -311,7 +311,7 @@
     xml_schema_simple_content_extension_impl_t *content_ext_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     content_ext_impl = AXIS2_INTF_TO_IMPL(sim_content);
-    if (NULL != content_ext_impl->base_type_name)
+    if (content_ext_impl->base_type_name)
     {
         AXIS2_QNAME_FREE(content_ext_impl->base_type_name, env);
         content_ext_impl->base_type_name = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_restriction.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_restriction.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_restriction.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_restriction.c Mon Sep 18 18:39:03 2006
@@ -251,36 +251,36 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     content_res_impl = AXIS2_INTF_TO_IMPL(sim_content_res);
-    if (NULL != content_res_impl->any_attribute)
+    if (content_res_impl->any_attribute)
     {
         XML_SCHEMA_ANY_ATTRIBUTE_FREE(content_res_impl->any_attribute, env);
         content_res_impl->any_attribute = NULL;
     }
-    if (NULL != content_res_impl->sim_content_res.base.ops)
+    if (content_res_impl->sim_content_res.base.ops)
     {
         AXIS2_FREE(env->allocator, content_res_impl->sim_content_res.base.ops);
         content_res_impl->sim_content_res.base.ops = NULL;
 
     }
-    if (NULL != content_res_impl->attributes)
+    if (content_res_impl->attributes)
     {
         /** TODO free attributes */
     }
-    if (NULL != content_res_impl->facets)
+    if (content_res_impl->facets)
     {
         /** TODO free facets */
     }
-    if (NULL != content_res_impl->base_type_name)
+    if (content_res_impl->base_type_name)
     {
         AXIS2_QNAME_FREE(content_res_impl->base_type_name, env);
         content_res_impl->base_type_name = NULL;
     }
-    if (NULL != content_res_impl->annotated)
+    if (content_res_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(content_res_impl->annotated, env);
         content_res_impl->annotated = NULL;
     }
-    if (NULL != content_res_impl->sim_content_res.ops)
+    if (content_res_impl->sim_content_res.ops)
     {
         AXIS2_FREE(env->allocator, content_res_impl->sim_content_res.ops);
         content_res_impl->sim_content_res.ops = NULL;
@@ -325,7 +325,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, any_attr, AXIS2_FAILURE);
-    if (NULL != content_res_impl->any_attribute)
+    if (content_res_impl->any_attribute)
     {
         XML_SCHEMA_ANY_ATTRIBUTE_FREE(content_res_impl->any_attribute, env);
         content_res_impl->any_attribute = NULL;
@@ -365,7 +365,7 @@
     xml_schema_simple_content_restriction_impl_t *content_res_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     content_res_impl = AXIS2_INTF_TO_IMPL(sim_content);
-    if (NULL != content_res_impl->base_type_name)
+    if (content_res_impl->base_type_name)
     {
         AXIS2_QNAME_FREE(content_res_impl->base_type_name, env);
         content_res_impl->base_type_name = NULL;
@@ -384,7 +384,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, base_type, AXIS2_FAILURE);
     sim_cnt_res_impl = AXIS2_INTF_TO_IMPL(sim_content_res);
-    if (NULL != sim_cnt_res_impl->base_type)
+    if (sim_cnt_res_impl->base_type)
     {
         XML_SCHEMA_SIMPLE_TYPE_FREE(sim_cnt_res_impl->base_type, env);
         sim_cnt_res_impl->base_type = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type.c Mon Sep 18 18:39:03 2006
@@ -156,7 +156,7 @@
             AXIS2_HASH_KEY_STRING, simple_type->schema_type);
 
     annotated = XML_SCHEMA_TYPE_GET_BASE_IMPL(simple_type->schema_type, env);
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(simple_type->ht_super,
                 AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
@@ -185,23 +185,23 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     simple_type_impl = AXIS2_INTF_TO_IMPL(simple_type);
 
-    if (NULL != simple_type_impl->ht_super)
+    if (simple_type_impl->ht_super)
     {
         axis2_hash_free(simple_type_impl->ht_super, env);
         simple_type_impl->ht_super = NULL;
     }
-    if (NULL != simple_type_impl->schema_type)
+    if (simple_type_impl->schema_type)
     {
         XML_SCHEMA_TYPE_FREE(simple_type_impl->schema_type, env);
         simple_type_impl->schema_type = NULL;
     }
 
-    if (NULL != simple_type_impl->simple_type.ops)
+    if (simple_type_impl->simple_type.ops)
     {
         AXIS2_FREE(env->allocator, simple_type_impl->simple_type.ops);
         simple_type_impl->simple_type.ops = NULL;
     }
-    if (NULL != simple_type_impl->simple_type.base.ops)
+    if (simple_type_impl->simple_type.base.ops)
     {
         AXIS2_FREE(env->allocator, simple_type_impl->simple_type.base.ops);
         simple_type_impl->simple_type.base.ops = NULL;
@@ -280,7 +280,7 @@
     xml_schema_simple_type_impl_t *simple_type_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     simple_type_impl = AXIS2_INTF_TO_IMPL(simple_type);
-    if (NULL != simple_type_impl->content)
+    if (simple_type_impl->content)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(simple_type_impl->content, env);
         simple_type_impl->content   = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_content.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_content.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_content.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_content.c Mon Sep 18 18:39:03 2006
@@ -146,30 +146,30 @@
     sim_type_cont_impl = AXIS2_INTF_TO_IMPL(sim_type_cont);
 
 
-    if (NULL != sim_type_cont_impl->ht_super)
+    if (sim_type_cont_impl->ht_super)
     {
         axis2_hash_free(sim_type_cont_impl->ht_super, env);
         sim_type_cont_impl->ht_super = NULL;
     }
 
-    if (NULL != sim_type_cont_impl->annotated)
+    if (sim_type_cont_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(sim_type_cont_impl->annotated, env);
         sim_type_cont_impl->annotated = NULL;
     }
 
-    if (NULL != sim_type_cont_impl->sim_type_cont.ops)
+    if (sim_type_cont_impl->sim_type_cont.ops)
     {
         AXIS2_FREE(env->allocator, sim_type_cont_impl->sim_type_cont.ops);
         sim_type_cont_impl->sim_type_cont.ops = NULL;
     }
-    if (NULL != sim_type_cont_impl->sim_type_cont.base.ops)
+    if (sim_type_cont_impl->sim_type_cont.base.ops)
     {
         AXIS2_FREE(env->allocator, sim_type_cont_impl->sim_type_cont.base.ops);
         sim_type_cont_impl->sim_type_cont.base.ops = NULL;
     }
 
-    if (NULL != sim_type_cont_impl)
+    if (sim_type_cont_impl)
     {
         AXIS2_FREE(env->allocator, sim_type_cont_impl);
         sim_type_cont_impl = NULL;
@@ -206,7 +206,7 @@
 
     sim_type_cont->ops = AXIS2_MALLOC(env->allocator,
             sizeof(xml_schema_simple_type_content_ops_t));
-    if (NULL != sim_type_cont->ops)
+    if (sim_type_cont->ops)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_list.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_list.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_list.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_list.c Mon Sep 18 18:39:03 2006
@@ -163,7 +163,7 @@
 
     annotated = XML_SCHEMA_SIMPLE_TYPE_CONTENT_GET_BASE_IMPL(
                 simple_type_list_impl->sim_type_content, env);
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(simple_type_list_impl->ht_super,
                 AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
@@ -194,32 +194,32 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     simple_type_list_impl = AXIS2_INTF_TO_IMPL(simple_type_list);
 
-    if (NULL != simple_type_list_impl->ht_super)
+    if (simple_type_list_impl->ht_super)
     {
         axis2_hash_free(simple_type_list_impl->ht_super, env);
         simple_type_list_impl->ht_super = NULL;
     }
-    if (NULL != simple_type_list_impl->sim_type_content)
+    if (simple_type_list_impl->sim_type_content)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(
             simple_type_list_impl->sim_type_content , env);
         simple_type_list_impl->sim_type_content = NULL;
     }
 
-    if (NULL != simple_type_list_impl->simple_type_list.ops)
+    if (simple_type_list_impl->simple_type_list.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_list_impl->simple_type_list.ops);
         simple_type_list_impl->simple_type_list.ops = NULL;
     }
-    if (NULL != simple_type_list_impl->simple_type_list.base.ops)
+    if (simple_type_list_impl->simple_type_list.base.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_list_impl->simple_type_list.base.ops);
         simple_type_list_impl->simple_type_list.base.ops = NULL;
     }
 
-    if (NULL != simple_type_list_impl)
+    if (simple_type_list_impl)
     {
         AXIS2_FREE(env->allocator, simple_type_list_impl);
         simple_type_list_impl = NULL;
@@ -258,7 +258,7 @@
 
     simple_type_list->ops = AXIS2_MALLOC(env->allocator,
             sizeof(xml_schema_simple_type_list_ops_t));
-    if(NULL != simple_type_list->ops)
+    if( simple_type_list->ops)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -302,7 +302,7 @@
     xml_schema_simple_type_list_impl_t *sim_type_res_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     sim_type_res_impl = AXIS2_INTF_TO_IMPL(simple_type_list);
-    if (NULL != sim_type_res_impl->item_type_name)
+    if (sim_type_res_impl->item_type_name)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(sim_type_res_impl->item_type, env);
         sim_type_res_impl->item_type_name = NULL;
@@ -329,7 +329,7 @@
     AXIS2_PARAM_CHECK(env->error, item_type_name, AXIS2_FAILURE);
 
     sim_type_res_impl = AXIS2_INTF_TO_IMPL(simple_type_list);
-    if (NULL != sim_type_res_impl->item_type_name)
+    if (sim_type_res_impl->item_type_name)
     {
         AXIS2_QNAME_FREE(sim_type_res_impl->item_type_name, env);
         sim_type_res_impl->item_type_name = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_restriction.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_restriction.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_restriction.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_restriction.c Mon Sep 18 18:39:03 2006
@@ -178,7 +178,7 @@
     annotated = XML_SCHEMA_SIMPLE_TYPE_CONTENT_GET_BASE_IMPL(
                 simple_type_restriction_impl->sim_type_content, env);
 
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(simple_type_restriction_impl->ht_super,
                 AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
@@ -209,34 +209,34 @@
     simple_type_restriction_impl = AXIS2_INTF_TO_IMPL(simple_type_restriction);
 
 
-    if (NULL != simple_type_restriction_impl->ht_super)
+    if (simple_type_restriction_impl->ht_super)
     {
         axis2_hash_free(simple_type_restriction_impl->ht_super, env);
         simple_type_restriction_impl->ht_super = NULL;
     }
 
 
-    if (NULL != simple_type_restriction_impl->sim_type_content)
+    if (simple_type_restriction_impl->sim_type_content)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(
             simple_type_restriction_impl->sim_type_content , env);
         simple_type_restriction_impl->sim_type_content = NULL;
     }
 
-    if (NULL != simple_type_restriction_impl->simple_type_restriction.ops)
+    if (simple_type_restriction_impl->simple_type_restriction.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_restriction_impl->simple_type_restriction.ops);
         simple_type_restriction_impl->simple_type_restriction.ops = NULL;
     }
-    if (NULL != simple_type_restriction_impl->simple_type_restriction.base.ops)
+    if (simple_type_restriction_impl->simple_type_restriction.base.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_restriction_impl->simple_type_restriction.base.ops);
         simple_type_restriction_impl->simple_type_restriction.base.ops = NULL;
     }
 
-    if (NULL != simple_type_restriction_impl)
+    if (simple_type_restriction_impl)
     {
         AXIS2_FREE(env->allocator, simple_type_restriction_impl);
         simple_type_restriction_impl = NULL;
@@ -275,7 +275,7 @@
 
     simple_type_restriction->ops = AXIS2_MALLOC(env->allocator,
             sizeof(xml_schema_simple_type_restriction_ops_t));
-    if(NULL != simple_type_restriction->ops)
+    if( simple_type_restriction->ops)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -322,7 +322,7 @@
     xml_schema_simple_type_restriction_impl_t *sim_type_res_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     sim_type_res_impl = AXIS2_INTF_TO_IMPL(simple_type_restriction);
-    if (NULL != sim_type_res_impl->base_type_name)
+    if (sim_type_res_impl->base_type_name)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(sim_type_res_impl->base_type, env);
         sim_type_res_impl->base_type_name = NULL;
@@ -351,7 +351,7 @@
     AXIS2_PARAM_CHECK(env->error, base_type_name, AXIS2_FAILURE);
 
     sim_type_res_impl = AXIS2_INTF_TO_IMPL(simple_type_restriction);
-    if (NULL != sim_type_res_impl->base_type_name)
+    if (sim_type_res_impl->base_type_name)
     {
         AXIS2_QNAME_FREE(sim_type_res_impl->base_type_name, env);
         sim_type_res_impl->base_type_name = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_union.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_union.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_union.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_union.c Mon Sep 18 18:39:03 2006
@@ -190,7 +190,7 @@
     annotated = XML_SCHEMA_SIMPLE_TYPE_CONTENT_GET_BASE_IMPL(
                 simple_type_union_impl->sim_type_content, env);
 
-    if (NULL != annotated)
+    if (annotated)
     {
         axis2_hash_set(simple_type_union_impl->ht_super,
                 AXIS2_STRDUP("XML_SCHEMA_ANNOTATED", env),
@@ -221,32 +221,32 @@
     simple_type_union_impl = AXIS2_INTF_TO_IMPL(simple_type_union);
 
 
-    if (NULL != simple_type_union_impl->ht_super)
+    if (simple_type_union_impl->ht_super)
     {
         axis2_hash_free(simple_type_union_impl->ht_super, env);
         simple_type_union_impl->ht_super = NULL;
     }
-    if (NULL != simple_type_union_impl->sim_type_content)
+    if (simple_type_union_impl->sim_type_content)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(
             simple_type_union_impl->sim_type_content , env);
         simple_type_union_impl->sim_type_content = NULL;
     }
 
-    if (NULL != simple_type_union_impl->simple_type_union.ops)
+    if (simple_type_union_impl->simple_type_union.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_union_impl->simple_type_union.ops);
         simple_type_union_impl->simple_type_union.ops = NULL;
     }
-    if (NULL != simple_type_union_impl->simple_type_union.base.ops)
+    if (simple_type_union_impl->simple_type_union.base.ops)
     {
         AXIS2_FREE(env->allocator,
                 simple_type_union_impl->simple_type_union.base.ops);
         simple_type_union_impl->simple_type_union.base.ops = NULL;
     }
 
-    if (NULL != simple_type_union_impl)
+    if (simple_type_union_impl)
     {
         AXIS2_FREE(env->allocator, simple_type_union_impl);
         simple_type_union_impl = NULL;
@@ -285,7 +285,7 @@
 
     simple_type_union->ops = AXIS2_MALLOC(env->allocator,
             sizeof(xml_schema_simple_type_union_ops_t));
-    if(NULL != simple_type_union->ops)
+    if( simple_type_union->ops)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -331,7 +331,7 @@
     xml_schema_simple_type_union_impl_t *sim_type_res_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     sim_type_res_impl = AXIS2_INTF_TO_IMPL(simple_type_union);
-    if (NULL != sim_type_res_impl->member_types_source)
+    if (sim_type_res_impl->member_types_source)
     {
         XML_SCHEMA_SIMPLE_TYPE_CONTENT_FREE(sim_type_res_impl->member_types_source, env);
         sim_type_res_impl->member_types_source = NULL;

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_type.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_type.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_type.c Mon Sep 18 18:39:03 2006
@@ -256,24 +256,24 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     type_impl = AXIS2_INTF_TO_IMPL(type);
-    if (NULL != type_impl->qname)
+    if (type_impl->qname)
     {
         AXIS2_QNAME_FREE(type_impl->qname, env);
         type_impl->qname = NULL;
 
     }
-    if (NULL != type_impl->annotated)
+    if (type_impl->annotated)
     {
         XML_SCHEMA_ANNOTATED_FREE(type_impl->annotated, env);
         type_impl->annotated = NULL;
     }
 
-    if (NULL != type_impl->type.ops)
+    if (type_impl->type.ops)
     {
         AXIS2_FREE(env->allocator, type_impl->type.ops);
         type_impl->type.ops = NULL;
     }
-    if (NULL != type_impl->type.base.ops)
+    if (type_impl->type.base.ops)
     {
         AXIS2_FREE(env->allocator, type_impl->type.base.ops);
         type_impl->type.base.ops = NULL;
@@ -365,7 +365,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -383,7 +383,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -401,7 +401,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -419,7 +419,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -439,14 +439,14 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, final_derivation, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
         if (!type_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != type_impl->final_derivation)
+    if (type_impl->final_derivation)
     {
         XML_SCHEMA_DERIVATION_METHOD_FREE(type_impl->final_derivation, env);
         type_impl->final_derivation = NULL;
@@ -463,7 +463,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -482,7 +482,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -501,7 +501,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -519,7 +519,7 @@
     axis2_hash_t *ht_super = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -539,14 +539,14 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
         if (!type_impl)
             return AXIS2_FAILURE;
     }
-    if (NULL != type_impl->name)
+    if (type_impl->name)
     {
         AXIS2_FREE(env->allocator, type_impl->name);
         type_impl->name = NULL;
@@ -568,7 +568,7 @@
     axis2_char_t *target_ns = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     ht_super = XML_SCHEMA_TYPE_SUPER_OBJS(type, env);
-    if (NULL != ht_super)
+    if (ht_super)
     {
         type_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(ht_super,
                 "XML_SCHEMA_TYPE", AXIS2_HASH_KEY_STRING));
@@ -580,12 +580,12 @@
     {
         return NULL;
     }
-    if (NULL != type_impl->qname)
+    if (type_impl->qname)
     {
         return type_impl->qname;
     }
 
-    if (NULL != type_impl->schema)
+    if (type_impl->schema)
     {
         target_ns =
             XML_SCHEMA_GET_TARGET_NAMESPACE(type_impl->schema, env);

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_url_resolver.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_url_resolver.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_url_resolver.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_url_resolver.c Mon Sep 18 18:39:03 2006
@@ -35,7 +35,7 @@
     axis2_char_t *schema_location,
     axis2_char_t *base_uri)
 {
-    if (NULL != base_uri && NULL != schema_location)
+    if (base_uri && NULL != schema_location)
     {
         axis2_uri_t *uri1 = NULL;
         axis2_uri_t *uri2 = NULL;
@@ -53,10 +53,10 @@
 
         uri1 = axis2_uri_parse_string(env, abs_path);
 
-        if (NULL != uri1)
+        if (uri1)
         {
             uri2 = axis2_uri_parse_relative(env, uri1, schema_location);
-            if (NULL != uri2)
+            if (uri2)
             {
                 ref = AXIS2_URI_TO_STRING(uri2, env, 1);
                 /* AXIS2_URI_FREE(uri2, env);  */
@@ -71,7 +71,7 @@
 static axis2_bool_t
 is_absolute_url(const axis2_char_t *url)
 {
-    if(NULL != url)
+    if( url)
     {
         if(strncmp(url, "http://", 7) == 0)
             return AXIS2_TRUE;
@@ -97,7 +97,7 @@
     {
         final_path = AXIS2_STRACAT("file:///", modified_path, env);
     }
-    if (NULL != modified_path)
+    if (modified_path)
     {
         AXIS2_FREE(env->allocator, modified_path);
     }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_use.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_use.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_use.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_use.c Mon Sep 18 18:39:03 2006
@@ -161,7 +161,7 @@
         {
             axis2_char_t *value = NULL;
             value = (axis2_char_t*) AXIS2_ARRAY_LIST_GET(use_impl->members, env, i);
-            if (NULL != value)
+            if (value)
             {
                 AXIS2_FREE(env->allocator, value);
                 value = NULL;
@@ -177,20 +177,20 @@
         use_impl->schema_enum = NULL;
     }
 
-    if (NULL != use_impl->ht_super)
+    if (use_impl->ht_super)
     {
         axis2_hash_free(use_impl->ht_super, env);
         use_impl->ht_super = NULL;
     }
 
 
-    if (NULL != use_impl->use.base.ops)
+    if (use_impl->use.base.ops)
     {
         AXIS2_FREE(env->allocator, use_impl->use.base.ops);
         use_impl->use.base.ops = NULL;
     }
 
-    if (NULL != use_impl->use.ops)
+    if (use_impl->use.ops)
     {
         AXIS2_FREE(env->allocator, use_impl->use.ops);
         use_impl->use.ops = NULL;
@@ -245,7 +245,7 @@
     super = XML_SCHEMA_USE_SUPER_OBJS(use, env);
     use_impl = AXIS2_INTF_TO_IMPL(axis2_hash_get(super, "XML_SCHEMA_USE",
             AXIS2_HASH_KEY_STRING));
-    if (NULL != use_impl)
+    if (use_impl)
         return use_impl->members;
     return NULL;
 }

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_severity_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_severity_type.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_severity_type.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_severity_type.c Mon Sep 18 18:39:03 2006
@@ -163,7 +163,7 @@
         {
             axis2_char_t *value = NULL;
             value = (axis2_char_t*) AXIS2_ARRAY_LIST_GET(severity_type_impl->members, env, i);
-            if (NULL != value)
+            if (value)
             {
                 AXIS2_FREE(env->allocator, value);
                 value = NULL;
@@ -216,7 +216,7 @@
     xml_schema_severity_type_impl_t *severity_impl = NULL;
     axis2_hash_t *ht_super = NULL;
     ht_super = XML_SCHEMA_SEREVITY_TYPE_SUPER_OBJS(severity_type, env);
-    if(NULL != ht_super)
+    if( ht_super)
     {
         severity_impl = (xml_schema_severity_type_impl_t*)
             axis2_hash_get(ht_super, "XML_SCHEMA_SEVERITY_TYPE", AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/xml_schema/src/xml_tokenized_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_tokenized_type.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_tokenized_type.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_tokenized_type.c Mon Sep 18 18:39:03 2006
@@ -187,7 +187,7 @@
         {
             axis2_char_t *value = NULL;
             value = (axis2_char_t*) AXIS2_ARRAY_LIST_GET(tokenized_type_impl->members, env, i);
-            if (NULL != value)
+            if (value)
             {
                 AXIS2_FREE(env->allocator, value);
                 value = NULL;
@@ -197,13 +197,13 @@
         tokenized_type_impl->schema_enum = NULL;
     }
 
-    if (NULL != tokenized_type_impl->tokenized_type.ops)
+    if (tokenized_type_impl->tokenized_type.ops)
     {
         AXIS2_FREE(env->allocator, tokenized_type_impl->tokenized_type.ops);
         tokenized_type_impl->tokenized_type.ops = NULL;
     }
 
-    if (NULL != tokenized_type_impl)
+    if (tokenized_type_impl)
     {
         AXIS2_FREE(env->allocator, tokenized_type_impl);
         tokenized_type_impl = NULL;
@@ -226,12 +226,12 @@
     xml_schema_tokenized_type_impl_t *tokenized_impl = NULL;
     axis2_hash_t *ht_super = NULL;
     ht_super = XML_SCHEMA_TOKENIZED_TYPE_SUPER_OBJS(tokenized_type, env);
-    if(NULL != ht_super)
+    if( ht_super)
     {
         tokenized_impl = (xml_schema_tokenized_type_impl_t*)
             axis2_hash_get(tokenized_impl->ht_super, "XML_SCHEMA_TOKENIZED_TYPE",
                 AXIS2_HASH_KEY_STRING);
-        if(NULL != tokenized_impl)
+        if( tokenized_impl)
         {
             return tokenized_impl->members;
         }    



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