You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/09/19 03:39:11 UTC
svn commit: r447671 [1/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/...
Author: samisa
Date: Mon Sep 18 18:39:03 2006
New Revision: 447671
URL: http://svn.apache.org/viewvc?view=rev&rev=447671
Log:
Replaced (foo != NULL) with (foo)
Also fixed formatting
Modified:
webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
webservices/axis2/trunk/c/axiom/src/om/om_attribute.c
webservices/axis2/trunk/c/axiom/src/om/om_document.c
webservices/axis2/trunk/c/axiom/src/om/om_element.c
webservices/axis2/trunk/c/axiom/src/om/om_namespace.c
webservices/axis2/trunk/c/axiom/src/om/om_navigator.c
webservices/axis2/trunk/c/axiom/src/om/om_node.c
webservices/axis2/trunk/c/axiom/src/om/om_output.c
webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
webservices/axis2/trunk/c/axiom/src/om/om_text.c
webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c
webservices/axis2/trunk/c/axiom/src/soap/soap_body.c
webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c
webservices/axis2/trunk/c/axiom/src/soap/soap_header.c
webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
webservices/axis2/trunk/c/axiom/src/util/om_util.c
webservices/axis2/trunk/c/axiom/test/om/test_om.c
webservices/axis2/trunk/c/axiom/test/soap/test_soap.c
webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c
webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c
webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c
webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c
webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
webservices/axis2/trunk/c/modules/core/deployment/module_builder.c
webservices/axis2/trunk/c/modules/core/deployment/phases_info.c
webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c
webservices/axis2/trunk/c/modules/core/deployment/ws_info.c
webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
webservices/axis2/trunk/c/modules/core/description/desc.c
webservices/axis2/trunk/c/modules/core/description/flow.c
webservices/axis2/trunk/c/modules/core/description/flow_container.c
webservices/axis2/trunk/c/modules/core/description/handler_desc.c
webservices/axis2/trunk/c/modules/core/description/module_desc.c
webservices/axis2/trunk/c/modules/core/description/msg.c
webservices/axis2/trunk/c/modules/core/description/op.c
webservices/axis2/trunk/c/modules/core/description/svc.c
webservices/axis2/trunk/c/modules/core/description/svc_grp.c
webservices/axis2/trunk/c/modules/core/description/transport_in_desc.c
webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c
webservices/axis2/trunk/c/modules/core/engine/conf.c
webservices/axis2/trunk/c/modules/core/engine/engine.c
webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c
webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c
webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
webservices/axis2/trunk/c/modules/core/receivers/svr_callback.c
webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c
webservices/axis2/trunk/c/modules/core/transport/http/http_header.c
webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c
webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c
webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c
webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c
webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c
webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_stream.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c
webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c
webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_stream.c
webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_worker.c
webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c
webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
webservices/axis2/trunk/c/modules/core/util/core_utils.c
webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
webservices/axis2/trunk/c/modules/wsdl/builder/wsdl_pump.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_fault.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_msg_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_component.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_endpoint.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_address.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c
webservices/axis2/trunk/c/rampart/src/omxmlsec/axiom.c
webservices/axis2/trunk/c/rampart/src/omxmlsec/buffer.c
webservices/axis2/trunk/c/rampart/src/omxmlsec/enc_engine.c
webservices/axis2/trunk/c/rampart/src/omxmlsec/error.c
webservices/axis2/trunk/c/rampart/src/util/timestamp_token.c
webservices/axis2/trunk/c/rampart/src/util/username_token.c
webservices/axis2/trunk/c/samples/client/math/math_client.c
webservices/axis2/trunk/c/samples/server/Calculator/calc_skeleton.c
webservices/axis2/trunk/c/samples/server/math/math_skeleton.c
webservices/axis2/trunk/c/test/core/deployment/test_deployment.c
webservices/axis2/trunk/c/tools/codegen/src/schema/schema_compiler.c
webservices/axis2/trunk/c/tools/codegen/src/schema/schema_property_loader.c
webservices/axis2/trunk/c/tools/codegen/src/schema/schema_writer_meta_info.c
webservices/axis2/trunk/c/tools/codegen/src/schema/writer/schema_writer.c
webservices/axis2/trunk/c/tools/codegen/src/util/config_property_loader.c
webservices/axis2/trunk/c/tools/codegen/src/util/cqname2name_maker.c
webservices/axis2/trunk/c/tools/codegen/src/util/properties.c
webservices/axis2/trunk/c/tools/codegen/src/util/typemapper.c
webservices/axis2/trunk/c/tools/codegen/src/util/url_processor.c
webservices/axis2/trunk/c/tools/codegen/src/util/xslt_utils.c
webservices/axis2/trunk/c/tools/codegen/src/wsdl/engine.c
webservices/axis2/trunk/c/tools/codegen/src/wsdl/engine_config_loader.c
webservices/axis2/trunk/c/tools/codegen/src/wsdl/extensions/c_qname2name_ext.c
webservices/axis2/trunk/c/tools/codegen/src/wsdl/extensions/databinding_default_ext.c
webservices/axis2/trunk/c/tools/codegen/test/unit/codegen/w2c_writer_test.c
webservices/axis2/trunk/c/tools/tcpmon/src/entry.c
webservices/axis2/trunk/c/util/src/dir_handler.c
webservices/axis2/trunk/c/util/src/dll_desc.c
webservices/axis2/trunk/c/util/src/env.c
webservices/axis2/trunk/c/util/src/error.c
webservices/axis2/trunk/c/util/src/hash.c
webservices/axis2/trunk/c/util/src/linked_list.c
webservices/axis2/trunk/c/util/src/log.c
webservices/axis2/trunk/c/util/src/minizip/archive_extract.c
webservices/axis2/trunk/c/util/src/minizip/crypt.c
webservices/axis2/trunk/c/util/src/minizip/ioapi.c
webservices/axis2/trunk/c/util/src/minizip/iowin32.c
webservices/axis2/trunk/c/util/src/minizip/unzip.c
webservices/axis2/trunk/c/util/src/network_handler.c
webservices/axis2/trunk/c/util/src/param_container.c
webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c
webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c
webservices/axis2/trunk/c/util/src/platforms/windows/thread_windows.c
webservices/axis2/trunk/c/util/src/qname.c
webservices/axis2/trunk/c/util/src/stack.c
webservices/axis2/trunk/c/util/src/stream.c
webservices/axis2/trunk/c/util/src/string.c
webservices/axis2/trunk/c/util/src/string_util.c
webservices/axis2/trunk/c/util/src/thread_pool.c
webservices/axis2/trunk/c/util/src/uri.c
webservices/axis2/trunk/c/util/src/url.c
webservices/axis2/trunk/c/util/src/utils.c
webservices/axis2/trunk/c/util/test/unit/util/util_hash_test.c
webservices/axis2/trunk/c/util/test/util/test_thread.c
webservices/axis2/trunk/c/woden/src/builder/reader.c
webservices/axis2/trunk/c/woden/src/builder/wsdl10/wsdl10_reader.c
webservices/axis2/trunk/c/woden/src/schema/schema.c
webservices/axis2/trunk/c/woden/src/util/qname_util.c
webservices/axis2/trunk/c/woden/src/util/woden_om_util.c
webservices/axis2/trunk/c/woden/src/wsdl/soap_fault_code.c
webservices/axis2/trunk/c/woden/src/wsdl/soap_fault_subcodes.c
webservices/axis2/trunk/c/woden/src/wsdl/woden_types.c
webservices/axis2/trunk/c/woden/src/wsdl/wsdl_obj.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_exts.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_binding_op_exts.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_header_block_deserializer.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/soap/wsdl10_soap_module_deserializer.c
webservices/axis2/trunk/c/woden/src/wsdl10/extensions/wsdl10_ext_registry.c
webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_component_model_builder.c
webservices/axis2/trunk/c/woden/src/wsdl10/wsdl10_desc.c
webservices/axis2/trunk/c/woden/src/wsdl20/component_model_builder.c
webservices/axis2/trunk/c/woden/src/wsdl20/desc.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_exts.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_binding_op_exts.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_deserializer.c
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_deserializer.c
webservices/axis2/trunk/c/xml_schema/samples/test_schema.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotated.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_annotation.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_any.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_any_attribute.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_app_info.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_builder.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_collection.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_complex_content.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_complex_content_extension.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_complex_content_restriction.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_complex_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_content_processing.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_content_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_data_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_derivation_method.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_documentation.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_element.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_enum.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_external.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_facet.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_form.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_group.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_base.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_group_ref.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_identity_constraint.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_import.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_input_source.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_collection.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_obj_table.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_particle.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_redefine.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_extension.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_content_restriction.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_content.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_list.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_restriction.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_simple_type_union.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_url_resolver.c
webservices/axis2/trunk/c/xml_schema/src/xml_schema_use.c
webservices/axis2/trunk/c/xml_schema/src/xml_severity_type.c
webservices/axis2/trunk/c/xml_schema/src/xml_tokenized_type.c
Modified: webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c Mon Sep 18 18:39:03 2006
@@ -133,7 +133,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
data_handler_impl = AXIS2_INTF_TO_IMPL(data_handler);
- if (NULL != data_handler->ops)
+ if (data_handler->ops)
{
AXIS2_FREE(env->allocator, data_handler->ops);
data_handler->ops = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c Mon Sep 18 18:39:03 2006
@@ -111,7 +111,7 @@
mime_body_part_impl->header_map = NULL;
}
- if (NULL != mime_body_part->ops)
+ if (mime_body_part->ops)
{
AXIS2_FREE(env->allocator, mime_body_part->ops);
mime_body_part->ops = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c Mon Sep 18 18:39:03 2006
@@ -145,7 +145,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
mime_output_impl = AXIS2_INTF_TO_IMPL(mime_output);
- if (NULL != mime_output->ops)
+ if (mime_output->ops)
{
AXIS2_FREE(env->allocator, mime_output->ops);
mime_output->ops = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c Mon Sep 18 18:39:03 2006
@@ -121,7 +121,7 @@
mime_parser_impl->mime_parts_map = NULL;
}
- if (NULL != mime_parser->ops)
+ if (mime_parser->ops)
{
AXIS2_FREE(env->allocator, mime_parser->ops);
mime_parser->ops = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_attribute.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_attribute.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_attribute.c Mon Sep 18 18:39:03 2006
@@ -120,7 +120,7 @@
AXIS2_FREE(env->allocator, attribute_impl);
return NULL;
}
- if (NULL != value)
+ if (value)
{
attribute_impl->value = (axis2_char_t*) AXIS2_STRDUP(value, env);
if (!(attribute_impl->value))
@@ -247,7 +247,7 @@
AXIS2_PARAM_CHECK(env->error, om_output, AXIS2_FAILURE);
attribute = AXIS2_INTF_TO_IMPL(om_attribute);
- if (NULL != attribute->ns)
+ if (attribute->ns)
{
axis2_char_t *uri = NULL;
axis2_char_t *prefix = NULL;
@@ -255,14 +255,14 @@
uri = AXIOM_NAMESPACE_GET_URI(attribute->ns, env);
prefix = AXIOM_NAMESPACE_GET_PREFIX(attribute->ns, env);
- if ((NULL != uri) && (NULL != prefix) && (AXIS2_STRCMP(prefix, "") != 0))
+ if ((uri) && (NULL != prefix) && (AXIS2_STRCMP(prefix, "") != 0))
{
status = axiom_output_write(om_output, env, AXIOM_ATTRIBUTE, 4,
attribute->localname,
attribute->value,
uri , prefix);
}
- else if (NULL != uri)
+ else if (uri)
{
status = axiom_output_write(om_output, env, AXIOM_ATTRIBUTE, 3,
attribute->localname, attribute->value, uri);
@@ -311,7 +311,7 @@
AXIS2_PARAM_CHECK(env->error, localname, AXIS2_FAILURE);
attr_impl = AXIS2_INTF_TO_IMPL(om_attribute);
- if (NULL != (attr_impl->localname))
+ if ((attr_impl->localname))
{
AXIS2_FREE(env->allocator, attr_impl->localname);
attr_impl->localname = NULL;
@@ -338,7 +338,7 @@
AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);
attr_impl = AXIS2_INTF_TO_IMPL(om_attribute);
- if (NULL != attr_impl->value)
+ if (attr_impl->value)
{
AXIS2_FREE(env->allocator, attr_impl->value);
attr_impl->value = NULL;
@@ -380,7 +380,7 @@
attr_impl->localname,
attr_impl->value,
attr_impl->ns);
- if (NULL != cloned_attr)
+ if (cloned_attr)
{
return cloned_attr;
}
Modified: webservices/axis2/trunk/c/axiom/src/om/om_document.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_document.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_document.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_document.c Mon Sep 18 18:39:03 2006
@@ -196,19 +196,19 @@
if (!(document->root_element))
{
last_child = AXIOM_STAX_BUILDER_NEXT(document->builder, env);
- if (NULL != last_child)
+ if (last_child)
{
document->last_child = last_child;
document->root_element = last_child;
}
return last_child;
}
- else if ((NULL != document->root_element) &&
+ else if ((document->root_element) &&
(AXIOM_NODE_IS_COMPLETE(document->root_element, env) == AXIS2_TRUE))
return NULL; /* Nothing wrong but done with pulling */
last_child = AXIOM_STAX_BUILDER_NEXT(document->builder, env);
- if (NULL != last_child)
+ if (last_child)
document->last_child = last_child;
return last_child;
}
@@ -223,7 +223,7 @@
AXIS2_ENV_CHECK(env, NULL);
doc_impl = AXIS2_INTF_TO_IMPL(document);
- if (NULL != doc_impl->root_element)
+ if (doc_impl->root_element)
{
return doc_impl->root_element;
}
@@ -231,7 +231,7 @@
{
node = axiom_document_build_next(document, env);
- if (NULL != doc_impl->root_element)
+ if (doc_impl->root_element)
{
return doc_impl->root_element;
@@ -259,7 +259,7 @@
document_impl = AXIS2_INTF_TO_IMPL(document);
- if (NULL != document_impl->root_element)
+ if (document_impl->root_element)
{
status = AXIOM_NODE_FREE_TREE(document_impl->root_element, env);
if (status == AXIS2_SUCCESS)
@@ -289,7 +289,7 @@
{
axiom_document_get_root_element(document, env);
}
- if (NULL != doc_impl->root_element)
+ if (doc_impl->root_element)
{
do
{
@@ -340,7 +340,7 @@
{
axiom_document_get_root_element(document, env);
}
- if (NULL != document_impl->root_element)
+ if (document_impl->root_element)
{
return AXIOM_NODE_SERIALIZE(document_impl->root_element,
env, om_output);
Modified: webservices/axis2/trunk/c/axiom/src/om/om_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_element.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_element.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_element.c Mon Sep 18 18:39:03 2006
@@ -321,7 +321,7 @@
env, *node, ns) == AXIS2_SUCCESS)
element->ns = ns;
}
- if (NULL != prefix && AXIS2_STRCMP(prefix, "") == 0)
+ if (prefix && AXIS2_STRCMP(prefix, "") == 0)
{
element->ns = NULL;
}
@@ -536,7 +536,7 @@
om_ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != om_ele_impl->namespaces)
+ if (om_ele_impl->namespaces)
{
void *ns = NULL;
@@ -548,12 +548,12 @@
default_ns = axiom_element_get_default_namespace(om_element ,
env, element_node);
- if (NULL != default_ns && NULL != uri)
+ if (default_ns && NULL != uri)
{
axis2_char_t *default_uri = NULL;
default_uri = AXIOM_NAMESPACE_GET_URI(default_ns, env);
- if (NULL != default_uri && AXIS2_STRCMP(uri, default_uri) == 0)
+ if (default_uri && AXIS2_STRCMP(uri, default_uri) == 0)
{
return default_ns;
}
@@ -563,7 +563,7 @@
hashindex; hashindex = axis2_hash_next(env, hashindex))
{
axis2_hash_this(hashindex, NULL, NULL, &ns);
- if (NULL != ns)
+ if (ns)
{
axiom_namespace_t *temp_ns = NULL;
axis2_char_t *temp_nsuri = NULL;
@@ -583,12 +583,12 @@
}
ns = NULL;
}
- else if (NULL != prefix)
+ else if (prefix)
{
/** prefix is not null get namespace directly if exist */
ns = axis2_hash_get(om_ele_impl->namespaces, prefix,
AXIS2_HASH_KEY_STRING);
- if (NULL != ns)
+ if (ns)
{
axiom_namespace_t *found_ns = NULL;
axis2_char_t *found_uri = NULL;
@@ -597,7 +597,7 @@
found_uri = AXIOM_NAMESPACE_GET_URI(found_ns, env);
/* TODO fix this
- if( (NULL != found_uri) && AXIS2_STRCMP(found_uri, uri) == 0)
+ if( ( found_uri) && AXIS2_STRCMP(found_uri, uri) == 0)
{
printf("\n furi %s real uri %s %s\n ", found_uri, uri, prefix);
return found_ns;
@@ -612,7 +612,7 @@
parent = AXIOM_NODE_GET_PARENT(element_node, env);
- if (NULL != parent)
+ if (parent)
{
if (AXIOM_NODE_GET_NODE_TYPE(parent, env) == AXIOM_ELEMENT)
{
@@ -656,7 +656,7 @@
declared_ns = axiom_element_find_namespace(ele,
env, node, uri, prefix);
- if (NULL != declared_ns)
+ if (declared_ns)
{
if (AXIOM_NAMESPACE_EQUALS(ns, env, declared_ns) == AXIS2_TRUE)
{/*Namespace already declared, so return */
@@ -670,7 +670,7 @@
if (!(om_ele_impl->namespaces))
return AXIS2_FAILURE;
}
- if (NULL != prefix)
+ if (prefix)
{
axis2_hash_set(om_ele_impl->namespaces,
prefix, AXIS2_HASH_KEY_STRING, ns);
@@ -714,7 +714,7 @@
hash_index; hash_index = axis2_hash_next(env, hash_index))
{
axis2_hash_this(hash_index, NULL, NULL, &ns);
- if (NULL != ns)
+ if (ns)
{
axiom_namespace_t *temp_ns = NULL;
axis2_char_t *temp_nsuri = NULL;
@@ -733,16 +733,16 @@
ns = NULL;
return NULL;
}
- else if (NULL != prefix)
+ else if (prefix)
{
axiom_namespace_t *found_ns = NULL;
ns = axis2_hash_get(om_element_impl->namespaces, prefix, AXIS2_HASH_KEY_STRING);
- if (NULL != ns)
+ if (ns)
{
axis2_char_t *found_uri = NULL;
found_ns = (axiom_namespace_t *) ns;
found_uri = AXIOM_NAMESPACE_GET_URI(found_ns, env);
- if (NULL != found_uri && AXIS2_STRCMP(found_uri, uri) == 0)
+ if (found_uri && AXIS2_STRCMP(found_uri, uri) == 0)
{
return found_ns;
}
@@ -863,7 +863,7 @@
element_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != element_impl->localname)
+ if (element_impl->localname)
{
AXIS2_FREE(env->allocator, element_impl->localname);
element_impl->localname = NULL;
@@ -872,7 +872,7 @@
{
/* it is the responsibility of the element where the namespace is declared to free it */
}
- if (NULL != element_impl->attributes)
+ if (element_impl->attributes)
{
axis2_hash_index_t *hi;
void *val = NULL;
@@ -892,7 +892,7 @@
element_impl->attributes = NULL;
}
- if (NULL != element_impl->namespaces)
+ if (element_impl->namespaces)
{
axis2_hash_index_t *hi;
void *val = NULL;
@@ -900,7 +900,7 @@
hi = axis2_hash_next(env, hi))
{
axis2_hash_this(hi, NULL, NULL, &val);
- if (NULL != val)
+ if (val)
{
AXIOM_NAMESPACE_FREE((axiom_namespace_t *)val, env);
val = NULL;
@@ -909,33 +909,33 @@
axis2_hash_free(element_impl->namespaces, env);
element_impl->namespaces = NULL;
}
- if (NULL != element_impl->qname)
+ if (element_impl->qname)
{
AXIS2_QNAME_FREE(element_impl->qname, env);
element_impl->qname = NULL;
}
- if (NULL != element_impl->children_iter)
+ if (element_impl->children_iter)
{
AXIOM_CHILDREN_ITERATOR_FREE(element_impl->children_iter, env);
element_impl->children_iter = NULL;
}
- if (NULL != element_impl->child_ele_iter)
+ if (element_impl->child_ele_iter)
{
AXIOM_CHILD_ELEMENT_ITERATOR_FREE(element_impl->child_ele_iter, env);
element_impl->child_ele_iter = NULL;
}
- if (NULL != element_impl->children_qname_iter)
+ if (element_impl->children_qname_iter)
{
AXIOM_CHILDREN_QNAME_ITERATOR_FREE(element_impl->children_qname_iter, env);
element_impl->children_qname_iter = NULL;
}
- if (NULL != element_impl->text_value)
+ if (element_impl->text_value)
{
AXIS2_FREE(env->allocator, element_impl->text_value);
element_impl->text_value = NULL;
}
- if (NULL != om_element->ops)
+ if (om_element->ops)
{
AXIS2_FREE(env->allocator, om_element->ops);
om_element->ops = NULL;
@@ -962,7 +962,7 @@
ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != ele_impl->ns)
+ if (ele_impl->ns)
{
axis2_char_t *uri = NULL;
axis2_char_t *prefix = NULL;
@@ -970,14 +970,14 @@
uri = AXIOM_NAMESPACE_GET_URI(ele_impl->ns, env);
prefix = AXIOM_NAMESPACE_GET_PREFIX(ele_impl->ns, env);
- if ((NULL != uri) && (NULL != prefix) && (AXIS2_STRCMP(prefix, "") != 0))
+ if ((uri) && (NULL != prefix) && (AXIS2_STRCMP(prefix, "") != 0))
{
status = axiom_output_write(om_output, env,
AXIOM_ELEMENT, 3, ele_impl->localname,
uri, prefix);
}
- else if (NULL != uri)
+ else if (uri)
{
status = axiom_output_write(om_output, env,
AXIOM_ELEMENT, 2, ele_impl->localname, uri);
@@ -989,7 +989,7 @@
AXIOM_ELEMENT, 1, ele_impl->localname);
}
- if (NULL != ele_impl->attributes)
+ if (ele_impl->attributes)
{
axis2_hash_index_t *hi;
void *val;
@@ -1010,7 +1010,7 @@
}
- if (NULL != ele_impl->namespaces)
+ if (ele_impl->namespaces)
{
axis2_hash_index_t *hi;
void *val;
@@ -1034,7 +1034,7 @@
axiom_namespace_t *default_ns = NULL;
default_ns = AXIOM_ELEMENT_GET_DEFAULT_NAMESPACE(om_element,
env, ele_node);
- if (NULL != default_ns)
+ if (default_ns)
{
AXIOM_NAMESPACE_SERIALIZE(default_ns, env, om_output);
}
@@ -1095,13 +1095,13 @@
AXIS2_ENV_CHECK(env, NULL);
om_ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != om_ele_impl->ns)
+ if (om_ele_impl->ns)
{
ns = om_ele_impl->ns;
}
else
{ /* TODO need to change get_namespace and get_qname methods so
- that default namespace is handled properly */
+ that default namespace is handled properly */
ns = axiom_element_get_default_namespace(
om_element, env, ele_node);
@@ -1233,7 +1233,7 @@
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, element_node, NULL);
om_ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != om_ele_impl->children_qname_iter)
+ if (om_ele_impl->children_qname_iter)
{
AXIOM_CHILDREN_QNAME_ITERATOR_FREE(om_ele_impl->children_qname_iter, env);
om_ele_impl->children_qname_iter = NULL;
@@ -1324,7 +1324,7 @@
AXIS2_PARAM_CHECK(env->error, element_node, NULL);
temp_node = AXIOM_NODE_GET_FIRST_CHILD(element_node, env);
- while (NULL != temp_node)
+ while (temp_node)
{
if (AXIOM_NODE_GET_NODE_TYPE(temp_node, env) == AXIOM_ELEMENT)
{
@@ -1356,7 +1356,7 @@
AXIS2_PARAM_CHECK(env->error, element_node, NULL);
element_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != element_impl->text_value)
+ if (element_impl->text_value)
{
AXIS2_FREE(env->allocator, element_impl->text_value);
element_impl->text_value = NULL;
@@ -1364,7 +1364,7 @@
temp_node = AXIOM_NODE_GET_FIRST_CHILD(element_node, env);
- while (NULL != temp_node)
+ while (temp_node)
{
if (AXIOM_NODE_GET_NODE_TYPE(temp_node, env) == AXIOM_TEXT)
{
@@ -1420,7 +1420,7 @@
AXIS2_PARAM_CHECK(env->error, element_node, AXIS2_FAILURE);
temp_node = AXIOM_NODE_GET_FIRST_CHILD(element_node, env);
- while (temp_node != NULL)
+ while (temp_node)
{
if (AXIOM_NODE_GET_NODE_TYPE(temp_node, env) == AXIOM_TEXT)
{
@@ -1532,24 +1532,24 @@
AXIS2_PARAM_CHECK(env->error, element_node, NULL);
om_ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != om_ele_impl->namespaces)
+ if (om_ele_impl->namespaces)
{
default_ns = axis2_hash_get(om_ele_impl->namespaces, "",
AXIS2_HASH_KEY_STRING);
- if (NULL != default_ns)
+ if (default_ns)
{
return default_ns;
}
}
parent_node = AXIOM_NODE_GET_PARENT(element_node, env);
- if ((NULL != parent_node) &&
+ if ((parent_node) &&
(AXIOM_NODE_GET_NODE_TYPE(parent_node, env) == AXIOM_ELEMENT))
{
axiom_element_t *parent_ele = NULL;
parent_ele = (axiom_element_t *)
AXIOM_NODE_GET_DATA_ELEMENT(parent_node, env);
- if (NULL != parent_ele)
+ if (parent_ele)
{
return axiom_element_get_default_namespace(parent_ele, env, parent_node);
}
@@ -1579,7 +1579,7 @@
{
return NULL;
}
- if (NULL != om_ele_impl->namespaces)
+ if (om_ele_impl->namespaces)
{
om_ele_impl->namespaces = axis2_hash_make(env);
if (!(om_ele_impl->namespaces))
@@ -1613,24 +1613,24 @@
AXIS2_PARAM_CHECK(env->error, prefix, NULL);
om_ele_impl = AXIS2_INTF_TO_IMPL(om_element);
- if (NULL != om_ele_impl->namespaces)
+ if (om_ele_impl->namespaces)
{
ns = axis2_hash_get(om_ele_impl->namespaces, prefix,
AXIS2_HASH_KEY_STRING);
- if (NULL != ns)
+ if (ns)
{
return ns;
}
}
parent_node = AXIOM_NODE_GET_PARENT(element_node, env);
- if ((NULL != parent_node) &&
+ if ((parent_node) &&
(AXIOM_NODE_GET_NODE_TYPE(parent_node, env) == AXIOM_ELEMENT))
{
axiom_element_t *parent_ele = NULL;
parent_ele = (axiom_element_t *)
AXIOM_NODE_GET_DATA_ELEMENT(parent_node, env);
- if (NULL != parent_ele)
+ if (parent_ele)
{
return axiom_element_find_namespace_uri(parent_ele, env, prefix, parent_node);
}
@@ -1652,11 +1652,11 @@
element_impl = AXIS2_INTF_TO_IMPL(om_element);
name = AXIS2_QNAME_TO_STRING(qname, env);
- if ((NULL != element_impl->attributes) && (NULL != name))
+ if ((element_impl->attributes) && (NULL != name))
{
attr = (axiom_attribute_t*) axis2_hash_get(element_impl->attributes,
name, AXIS2_HASH_KEY_STRING);
- if (NULL != attr)
+ if (attr)
{
return AXIOM_ATTRIBUTE_GET_VALUE(attr, env);
}
@@ -1712,13 +1712,13 @@
{
void *val = NULL;
axis2_hash_this(hi, NULL, NULL, &val);
- if (NULL != val)
+ if (val)
{
om_attr = (axiom_attribute_t *)val;
cloned_attr = AXIOM_ATTRIBUTE_CLONE(om_attr, env);
om_ns = AXIOM_ATTRIBUTE_GET_NAMESPACE(om_attr, env);
- if (NULL != om_ns)
+ if (om_ns)
{
cloned_ns = AXIOM_NAMESPACE_CLONE(om_ns, env);
AXIOM_ATTRIBUTE_SET_NAMESPACE(cloned_attr, env, cloned_ns);
@@ -1757,7 +1757,7 @@
void *attr = NULL;
axiom_attribute_t *om_attr = NULL;
axis2_hash_this(hi, NULL, NULL, &attr);
- if (NULL != attr)
+ if (attr)
{
axis2_char_t *this_attr_name;
axis2_char_t *this_attr_value;
@@ -1769,15 +1769,15 @@
this_attr_name = AXIOM_ATTRIBUTE_GET_LOCALNAME(om_attr, env);
this_attr_value = AXIOM_ATTRIBUTE_GET_VALUE(om_attr, env);
attr_ns = AXIOM_ATTRIBUTE_GET_NAMESPACE(om_attr, env);
- if (NULL != attr_ns)
+ if (attr_ns)
{
prefix = AXIOM_NAMESPACE_GET_PREFIX(attr_ns, env);
- if (NULL != prefix)
+ if (prefix)
{
axis2_char_t *tmp_val = NULL;
tmp_val = AXIS2_STRACAT(prefix, ":", env);
attr_qn_str = AXIS2_STRACAT(tmp_val, this_attr_name, env);
- if (NULL != tmp_val)
+ if (tmp_val)
{
AXIS2_FREE(env->allocator, tmp_val);
tmp_val = NULL;
@@ -1789,7 +1789,7 @@
attr_qn_str = AXIS2_STRDUP(this_attr_name, env);
}
- if (NULL != attr_qn_str && AXIS2_STRCMP(attr_qn_str, attr_name) == 0)
+ if (attr_qn_str && AXIS2_STRCMP(attr_qn_str, attr_name) == 0)
{
AXIS2_FREE(env->allocator, attr_qn_str);
attr_qn_str = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_namespace.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_namespace.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_namespace.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_namespace.c Mon Sep 18 18:39:03 2006
@@ -174,25 +174,25 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
ns_impl = AXIS2_INTF_TO_IMPL(om_namespace);
- if (NULL != ns_impl->prefix)
+ if (ns_impl->prefix)
{
AXIS2_FREE(env->allocator, ns_impl->prefix);
ns_impl->prefix = NULL;
}
- if (NULL != ns_impl->uri)
+ if (ns_impl->uri)
{
AXIS2_FREE(env->allocator, ns_impl->uri);
ns_impl->uri = NULL;
}
- if (NULL != ns_impl->key)
+ if (ns_impl->key)
{
AXIS2_FREE(env->allocator, ns_impl->key);
ns_impl->key = NULL;
}
- if (NULL != om_namespace->ops)
+ if (om_namespace->ops)
{
AXIS2_FREE(env->allocator, om_namespace->ops);
om_namespace->ops = NULL;
@@ -253,14 +253,14 @@
ns_impl = AXIS2_INTF_TO_IMPL(om_namespace);
- if (NULL != ns_impl->uri && NULL != ns_impl->prefix &&
+ if (ns_impl->uri && NULL != ns_impl->prefix &&
AXIS2_STRCMP(ns_impl->prefix, "") != 0)
{
status = axiom_output_write(om_output, env, AXIOM_NAMESPACE,
2, ns_impl->prefix,
ns_impl->uri);
}
- else if (NULL != ns_impl->uri)
+ else if (ns_impl->uri)
{
status = axiom_output_write(om_output, env, AXIOM_NAMESPACE,
2, NULL, ns_impl->uri);
@@ -297,7 +297,7 @@
cloned_ns = axiom_namespace_create(env,
ns_impl->uri, ns_impl->prefix);
- if (NULL != cloned_ns)
+ if (cloned_ns)
{
return cloned_ns;
}
@@ -312,22 +312,22 @@
axis2_char_t *temp_str = NULL;
AXIS2_ENV_CHECK(env, NULL);
ns_impl = AXIS2_INTF_TO_IMPL(om_namespace);
- if (NULL != ns_impl->key)
+ if (ns_impl->key)
{
AXIS2_FREE(env->allocator, ns_impl->key);
ns_impl->key = NULL;
}
- if ((NULL != ns_impl->uri) && (NULL != ns_impl->prefix))
+ if ((ns_impl->uri) && (NULL != ns_impl->prefix))
{
temp_str = AXIS2_STRACAT(ns_impl->uri, "|", env);
ns_impl->key = AXIS2_STRACAT(temp_str, ns_impl->prefix, env);
- if (NULL != temp_str)
+ if (temp_str)
{
AXIS2_FREE(env->allocator, temp_str);
temp_str = NULL;
}
}
- else if ((NULL != ns_impl->uri) && !(ns_impl->prefix))
+ else if ((ns_impl->uri) && !(ns_impl->prefix))
{
ns_impl->key = AXIS2_STRDUP(ns_impl->uri, env);
if (NULL == ns_impl->key)
@@ -349,7 +349,7 @@
AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
ns_impl = AXIS2_INTF_TO_IMPL(ns);
- if (NULL != ns_impl->uri)
+ if (ns_impl->uri)
{
AXIS2_FREE(env->allocator, ns_impl->uri);
ns_impl->uri = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_navigator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_navigator.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_navigator.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_navigator.c Mon Sep 18 18:39:03 2006
@@ -133,7 +133,7 @@
{
AXIS2_ENV_CHECK(env , AXIS2_FAILURE);
- if (NULL != om_navigator->ops)
+ if (om_navigator->ops)
{
AXIS2_FREE(env->allocator, om_navigator->ops);
om_navigator->ops = NULL;
@@ -156,7 +156,7 @@
return AXIS2_FALSE;
else
{
- if (NULL != navigator_impl->next)
+ if (navigator_impl->next)
return AXIS2_TRUE;
}
return AXIS2_FALSE;
@@ -231,7 +231,7 @@
if ((AXIOM_ELEMENT == AXIOM_NODE_GET_NODE_TYPE(navigator_impl->next, env)) &&
!(navigator_impl->visited))
{
- if (NULL != AXIOM_NODE_GET_FIRST_CHILD(navigator_impl->next, env))
+ if (AXIOM_NODE_GET_FIRST_CHILD(navigator_impl->next, env))
{
navigator_impl->next = AXIOM_NODE_GET_FIRST_CHILD(navigator_impl->next, env);
}
@@ -253,11 +253,11 @@
parent = AXIOM_NODE_GET_PARENT(navigator_impl->next, env);
- if (NULL != next_sibling)
+ if (next_sibling)
{
navigator_impl->next = next_sibling;
}
- else if ((NULL != parent) && AXIOM_NODE_IS_COMPLETE(parent, env))
+ else if ((parent) && AXIOM_NODE_IS_COMPLETE(parent, env))
{
navigator_impl->next = parent;
navigator_impl->backtracked = AXIS2_TRUE;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_node.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_node.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_node.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_node.c Mon Sep 18 18:39:03 2006
@@ -210,12 +210,12 @@
node_impl = AXIS2_INTF_TO_IMPL(om_node);
- if (NULL != node_impl->first_child)
+ if (node_impl->first_child)
{
- while (NULL != (node_impl->first_child))
+ while ((node_impl->first_child))
{
child_node = AXIOM_NODE_DETACH(node_impl->first_child, env);
- if (NULL != child_node)
+ if (child_node)
{
AXIOM_NODE_FREE_TREE(child_node , env);
child_node = NULL;
@@ -226,13 +226,13 @@
switch (node_impl->node_type)
{
case AXIOM_ELEMENT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
AXIOM_ELEMENT_FREE((axiom_element_t*)(node_impl->data_element), env);
break;
case AXIOM_COMMENT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
AXIOM_COMMENT_FREE((axiom_comment_t*)(node_impl->data_element), env);
break;
@@ -240,13 +240,13 @@
/*AXIOM_DOCTYPE_FREE((axiom_doctype_t*)(node_impl->data_element), env);*/
break;
case AXIOM_PROCESSING_INSTRUCTION:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
AXIOM_PROCESSING_INSTRUCTION_FREE(
(axiom_processing_instruction_t*)(node_impl->data_element), env);
break;
case AXIOM_TEXT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
AXIOM_TEXT_FREE((axiom_text_t*)(node_impl->data_element), env);
break;
@@ -254,7 +254,7 @@
default:
break;
}
- if (NULL != om_node->ops)
+ if (om_node->ops)
{
AXIS2_FREE(env->allocator, om_node->ops);
om_node->ops = NULL;
@@ -336,7 +336,7 @@
AXIS2_INTF_TO_IMPL(om_node)->prev_sibling;
}
- if (NULL != (AXIS2_INTF_TO_IMPL(parent)->last_child) &&
+ if ((AXIS2_INTF_TO_IMPL(parent)->last_child) &&
((AXIS2_INTF_TO_IMPL(parent)->last_child) == om_node))
{
AXIS2_INTF_TO_IMPL(parent)->last_child =
@@ -376,7 +376,7 @@
/* if a new parent is assigned in place of existing
* one first the node should be detached
*/
- if (NULL != node_impl->parent)
+ if (node_impl->parent)
{
om_node = axiom_node_detach(om_node, env);
}
@@ -411,7 +411,7 @@
next_sib = AXIS2_INTF_TO_IMPL(om_node)->next_sibling;
- if (NULL != next_sib)
+ if (next_sib)
{
AXIS2_INTF_TO_IMPL(next_sib)->prev_sibling = node_to_insert;
}
@@ -481,7 +481,7 @@
switch (node_impl->node_type)
{
case AXIOM_ELEMENT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_ELEMENT_SERIALIZE_START_PART(
(axiom_element_t *)(node_impl->data_element),
@@ -495,7 +495,7 @@
break;
case AXIOM_TEXT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_TEXT_SERIALIZE(
(axiom_text_t*)(node_impl->data_element),
@@ -507,7 +507,7 @@
break;
case AXIOM_COMMENT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_COMMENT_SERIALIZE(
(axiom_comment_t*)(node_impl->data_element),
@@ -519,7 +519,7 @@
break;
case AXIOM_DOCTYPE:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_DOCTYPE_SERIALIZE(
(axiom_doctype_t*)(node_impl->data_element),
@@ -531,7 +531,7 @@
break;
case AXIOM_PROCESSING_INSTRUCTION:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_PROCESSING_INSTRUCTION_SERIALIZE(
(axiom_processing_instruction_t*)(node_impl->data_element),
@@ -549,7 +549,7 @@
temp_node = axiom_node_get_first_child(om_node, env);
/* serialize children of this node */
- while (NULL != temp_node)
+ while (temp_node)
{
status = axiom_node_serialize(temp_node, env, om_output);
temp_node = AXIOM_NODE_GET_NEXT_SIBLING(temp_node, env);
@@ -558,7 +558,7 @@
switch (node_impl->node_type)
{
case AXIOM_ELEMENT:
- if (NULL != node_impl->data_element)
+ if (node_impl->data_element)
{
status = AXIOM_ELEMENT_SERIALIZE_END_PART(
(axiom_element_t *)(node_impl->data_element),
Modified: webservices/axis2/trunk/c/axiom/src/om/om_output.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_output.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_output.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_output.c Mon Sep 18 18:39:03 2006
@@ -276,33 +276,33 @@
om_output_impl = AXIS2_INTF_TO_IMPL(om_output);
- if (NULL != om_output_impl->xml_version)
+ if (om_output_impl->xml_version)
{
AXIS2_FREE(env->allocator, om_output_impl->xml_version);
om_output_impl->xml_version = NULL;
}
- if (NULL != om_output_impl->char_set_encoding)
+ if (om_output_impl->char_set_encoding)
{
AXIS2_FREE(env->allocator, om_output_impl->char_set_encoding);
om_output_impl->char_set_encoding = NULL;
}
- if (NULL != om_output_impl->mime_boundary)
+ if (om_output_impl->mime_boundary)
{
AXIS2_FREE(env->allocator, om_output_impl->mime_boundary);
om_output_impl->mime_boundary = NULL;
}
- if (NULL != om_output_impl->next_content_id)
+ if (om_output_impl->next_content_id)
{
AXIS2_FREE(env->allocator, om_output_impl->next_content_id);
om_output_impl->next_content_id = NULL;
}
- if (NULL != om_output_impl->root_content_id)
+ if (om_output_impl->root_content_id)
{
AXIS2_FREE(env->allocator, om_output_impl->root_content_id);
om_output_impl->root_content_id = NULL;
}
- if (NULL != om_output_impl->xml_writer)
+ if (om_output_impl->xml_writer)
{
AXIOM_XML_WRITER_FREE(om_output_impl->xml_writer, env);
om_output_impl->xml_writer = NULL;
@@ -314,7 +314,7 @@
om_output_impl->binary_node_list = NULL;
}
- if (NULL != om_output->ops)
+ if (om_output->ops)
{
AXIS2_FREE(env->allocator, om_output->ops);
om_output->ops = NULL;
@@ -373,7 +373,7 @@
AXIS2_PARAM_CHECK(env->error, xml_version, AXIS2_FAILURE);
output_impl = AXIS2_INTF_TO_IMPL(om_output);
- if (NULL != output_impl->xml_version)
+ if (output_impl->xml_version)
{
AXIS2_FREE(env->allocator, output_impl->xml_version);
output_impl->xml_version = NULL;
@@ -406,7 +406,7 @@
AXIS2_PARAM_CHECK(env->error, char_set_encoding, AXIS2_FAILURE);
output_impl = AXIS2_INTF_TO_IMPL(om_output);
- if (NULL != output_impl->char_set_encoding)
+ if (output_impl->char_set_encoding)
{
AXIS2_FREE(env->allocator, output_impl->char_set_encoding);
output_impl->char_set_encoding = NULL;
@@ -503,7 +503,7 @@
axiom_output_impl_t *om_output_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
om_output_impl = AXIS2_INTF_TO_IMPL(om_output);
- if (NULL != om_output_impl->binary_node_list)
+ if (om_output_impl->binary_node_list)
{
AXIS2_ARRAY_LIST_ADD(om_output_impl->binary_node_list, env, om_text);
}
@@ -534,7 +534,7 @@
om_output_impl->next_id++;
/** free existing id */
- if (NULL != om_output_impl->next_content_id)
+ if (om_output_impl->next_content_id)
{
AXIS2_FREE(env->allocator, om_output_impl->next_content_id);
om_output_impl->next_content_id = NULL;
@@ -549,17 +549,17 @@
temp_str = AXIS2_STRACAT(id, ".", env);
temp_str1 = AXIS2_STRACAT(temp_str, uuid, env);
om_output_impl->next_content_id = AXIS2_STRACAT(temp_str1, "@apache.org", env);
- if (NULL != temp_str)
+ if (temp_str)
{
AXIS2_FREE(env->allocator, temp_str);
temp_str = NULL;
}
- if (NULL != temp_str1)
+ if (temp_str1)
{
AXIS2_FREE(env->allocator, temp_str1);
temp_str1 = NULL;
}
- if (NULL != uuid)
+ if (uuid)
{
AXIS2_FREE(env->allocator, uuid);
uuid = NULL;
@@ -587,12 +587,12 @@
om_output_impl->root_content_id =
AXIS2_STRACAT(temp_str, "@apache.org", env);
- if (NULL != temp_str)
+ if (temp_str)
{
AXIS2_FREE(env->allocator, temp_str);
temp_str = NULL;
}
- if (NULL != uuid)
+ if (uuid)
{
AXIS2_FREE(env->allocator, uuid);
uuid = NULL;
@@ -618,7 +618,7 @@
uuid = axis2_uuid_gen(env);
om_output_impl->mime_boundary = AXIS2_STRACAT("MIMEBoundary", uuid, env);
- if (NULL != uuid)
+ if (uuid)
{
AXIS2_FREE(env->allocator, uuid);
uuid = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Mon Sep 18 18:39:03 2006
@@ -212,14 +212,14 @@
attr_value = AXIOM_XML_READER_GET_ATTRIBUTE_VALUE_BY_NUMBER(
builder_impl->parser, env, i);
- if (NULL != attr_name)
+ if (attr_name)
{
attribute = axiom_attribute_create(env, attr_name, attr_value, ns);
if (!attribute)
return AXIS2_FAILURE;
temp_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(element_node, env);
- if (NULL != temp_ele)
+ if (temp_ele)
{
status = AXIOM_ELEMENT_ADD_ATTRIBUTE(temp_ele, env, attribute, element_node);
}
@@ -823,7 +823,7 @@
}
else
{
- if (NULL != builder_impl->root_node)
+ if (builder_impl->root_node)
{
AXIOM_NODE_FREE_TREE(builder_impl->root_node, env);
builder_impl->root_node = NULL;
Modified: webservices/axis2/trunk/c/axiom/src/om/om_text.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_text.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_text.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_text.c Mon Sep 18 18:39:03 2006
@@ -243,13 +243,13 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
text_impl = AXIS2_INTF_TO_IMPL(om_text);
- if (NULL != text_impl->value)
+ if (text_impl->value)
{
AXIS2_FREE(env->allocator, text_impl->value);
text_impl->value = NULL;
}
- if (NULL != text_impl->ns)
+ if (text_impl->ns)
{
AXIOM_NAMESPACE_FREE(text_impl->ns, env);
text_impl->ns = NULL;
@@ -261,7 +261,7 @@
text_impl->content_id = NULL;
}
- if (NULL != om_text->ops)
+ if (om_text->ops)
{
AXIS2_FREE(env->allocator, om_text->ops);
om_text->ops = NULL;
@@ -342,7 +342,7 @@
AXIS2_PARAM_CHECK(env->error , om_text, AXIS2_FAILURE);
text_impl = AXIS2_INTF_TO_IMPL(om_text);
- if (NULL != text_impl->value)
+ if (text_impl->value)
{
AXIS2_FREE(env->allocator, text_impl->value);
text_impl->value = NULL;
@@ -464,14 +464,14 @@
om_text_impl = AXIS2_INTF_TO_IMPL(om_text);
local_name = axiom_text_get_localname(om_text, env);
- if (om_text_impl->ns != NULL)
+ if (om_text_impl->ns)
{
namespace_uri = AXIOM_NAMESPACE_GET_URI(om_text_impl->ns, env);
- if (namespace_uri != NULL)
+ if (namespace_uri)
{
prefix = AXIOM_NAMESPACE_GET_PREFIX(om_text_impl->ns, env);
- if (prefix != NULL)
+ if (prefix)
{
axiom_output_write(om_output, env, AXIOM_ELEMENT, 3,
local_name, namespace_uri, prefix);
@@ -527,11 +527,11 @@
attribute_local_name = AXIOM_ATTRIBUTE_GET_LOCALNAME(om_attribute, env);
- if (om_namespace != NULL)
+ if (om_namespace)
{
prefix = AXIOM_NAMESPACE_GET_PREFIX(om_text_impl->ns, env);
attribute_value = AXIOM_ATTRIBUTE_GET_VALUE(om_attribute, env);
- if (prefix != NULL)
+ if (prefix)
{
AXIOM_XML_WRITER_WRITE_ATTRIBUTE(xml_writer, env, attribute_local_name, attribute_value);
}
@@ -566,7 +566,7 @@
om_namespace = axiom_namespace_create(env, "" , "");
om_text_impl = AXIS2_INTF_TO_IMPL(om_text);
- if (om_namespace != NULL)
+ if (om_namespace)
{
namespace_uri = AXIOM_NAMESPACE_GET_URI(om_text_impl->ns, env);
namespace_prefix = AXIOM_NAMESPACE_GET_PREFIX(om_text_impl->ns, env);
@@ -584,7 +584,7 @@
AXIS2_ENV_CHECK(env, NULL);
om_text_impl = AXIS2_INTF_TO_IMPL(om_text);
- if (om_text_impl->value != NULL)
+ if (om_text_impl->value)
{
return om_text_impl->value;
}
Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c Mon Sep 18 18:39:03 2006
@@ -883,7 +883,7 @@
{
xmlTextReaderMoveToAttributeNo(parser_impl->reader, i);
q_name = (char *) xmlTextReaderName(parser_impl->reader);
- if (q_name != NULL)
+ if (q_name)
{
if ((strcmp(q_name, "xmlns") == 0) || (strncmp(q_name, "xmlns:", 6) == 0))
{
Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c Mon Sep 18 18:39:03 2006
@@ -390,7 +390,7 @@
writer_impl->writer_type = AXIS2_XML_PARSER_TYPE_FILE;
writer_impl->compression = compression;
- if (NULL != encoding)
+ if (encoding)
writer_impl->encoding = AXIS2_STRDUP(encoding , env);
else
writer_impl->encoding = AXIS2_STRDUP(ENCODING, env);
@@ -612,32 +612,32 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
writer_impl = AXIS2_INTF_TO_IMPL(writer);
- if (NULL != writer_impl->buffer)
+ if (writer_impl->buffer)
{
xmlBufferFree(writer_impl->buffer);
writer_impl->buffer = NULL;
}
- if (NULL != writer_impl->encoding)
+ if (writer_impl->encoding)
{
AXIS2_FREE(env->allocator, writer_impl->encoding);
writer_impl->encoding = NULL;
}
- if (NULL != writer_impl->uri_prefix_map)
+ if (writer_impl->uri_prefix_map)
{
axis2_hash_free(writer_impl->uri_prefix_map, env);
writer_impl->uri_prefix_map = NULL;
}
- if (NULL != writer_impl->stack)
+ if (writer_impl->stack)
{
AXIS2_STACK_FREE(writer_impl->stack, env);
writer_impl->stack = NULL;
}
- if (NULL != writer_impl->default_lang_namespace)
+ if (writer_impl->default_lang_namespace)
{
uri_prefix_element_free(writer_impl->default_lang_namespace, env);
writer_impl->default_lang_namespace = NULL;
}
- if (NULL != writer->ops)
+ if (writer->ops)
{
AXIS2_FREE(env->allocator, writer->ops);
writer->ops = NULL;
@@ -749,7 +749,7 @@
is_declared = axis2_libxml2_writer_wrapper_is_namespace_declared(writer, env, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
@@ -867,7 +867,7 @@
is_declared = axis2_libxml2_writer_wrapper_is_namespace_declared(writer, env, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
@@ -1043,7 +1043,7 @@
key = create_key_from_uri_prefix(env, namespace_uri, prefix);
is_declared = axis2_libxml2_writer_wrapper_is_namespace_declared(writer, env, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
@@ -1099,7 +1099,7 @@
is_declared = axis2_libxml2_writer_wrapper_is_namespace_declared(writer, env, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
@@ -1112,7 +1112,7 @@
else
{
axis2_libxml2_writer_wrapper_push(writer, env, namespace_uri, prefix);
- if (NULL != prefix && (AXIS2_STRCMP(prefix, "") != 0))
+ if (prefix && (AXIS2_STRCMP(prefix, "") != 0))
{
xmlnsprefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator,
@@ -1172,7 +1172,7 @@
status = xmlTextWriterWriteAttribute(writer_impl->xml_writer,
(const xmlChar *)xmlns , BAD_CAST namespace_uri);
- if (NULL != xmlns)
+ if (xmlns)
{
AXIS2_FREE(env->allocator, xmlns);
xmlns = NULL;
@@ -1437,7 +1437,7 @@
key = create_key_from_uri_prefix(env, uri, prefix);
is_declared = axis2_libxml2_writer_wrapper_is_namespace_declared(writer, env, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
@@ -1498,7 +1498,7 @@
{
axis2_char_t *output = NULL;
- if (writer_impl->buffer != NULL)
+ if (writer_impl->buffer)
{
output = AXIS2_MALLOC(env->allocator,
sizeof(axis2_char_t) * (
@@ -1550,15 +1550,15 @@
uri_prefix_element_t *ele = NULL;
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(ns_list, env, i);
- if (NULL != value)
+ if (value)
{
ele = (uri_prefix_element_t *)value;
- if (NULL != writer_impl->uri_prefix_map && NULL != ele->key)
+ if (writer_impl->uri_prefix_map && NULL != ele->key)
{
void *val = NULL;
val = axis2_hash_get(writer_impl->uri_prefix_map, ele->key,
AXIS2_HASH_KEY_STRING);
- if (NULL != val)
+ if (val)
{
/** this namespace uri and prefix should be removed*/
axis2_hash_set(writer_impl->uri_prefix_map, ele->key,
@@ -1593,23 +1593,23 @@
temp_prefix = prefix;
}
- if (NULL != writer_impl->stack)
+ if (writer_impl->stack)
{
current_list = (axis2_array_list_t *)
AXIS2_STACK_GET(writer_impl->stack, env);
- if (NULL != current_list)
+ if (current_list)
{
uri_prefix_element_t *ele = NULL;
key = create_key_from_uri_prefix(env, uri, prefix);
ele = uri_prefix_element_create(env, uri , temp_prefix, prefix, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
}
- if (NULL != ele)
+ if (ele)
{
AXIS2_ARRAY_LIST_ADD(current_list, env, ele);
axis2_hash_set(writer_impl->uri_prefix_map, ele->key,
@@ -1628,12 +1628,12 @@
axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
writer_impl = AXIS2_INTF_TO_IMPL(writer);
- if (NULL != writer_impl->uri_prefix_map && NULL != key)
+ if (writer_impl->uri_prefix_map && NULL != key)
{
void *ret = NULL;
ret = axis2_hash_get(writer_impl->uri_prefix_map, key,
AXIS2_HASH_KEY_STRING);
- if (NULL != ret)
+ if (ret)
{
return AXIS2_TRUE;
}
@@ -1645,24 +1645,24 @@
uri_prefix_element_free(uri_prefix_element_t *up_element,
const axis2_env_t *env)
{
- if (NULL != up_element)
+ if (up_element)
{
- if (NULL != up_element->uri)
+ if (up_element->uri)
{
AXIS2_FREE(env->allocator, up_element->uri);
up_element->uri = NULL;
}
- if (NULL != up_element->prefix)
+ if (up_element->prefix)
{
AXIS2_FREE(env->allocator, up_element->prefix);
up_element->prefix = NULL;
}
- if (NULL != up_element->key)
+ if (up_element->key)
{
AXIS2_FREE(env->allocator, up_element->key);
up_element->key = NULL;
}
- if (NULL != up_element->real_prefix)
+ if (up_element->real_prefix)
{
AXIS2_FREE(env->allocator, up_element->real_prefix);
up_element->real_prefix = NULL;
@@ -1706,14 +1706,14 @@
return NULL;
}
up_element->prefix = AXIS2_STRDUP(prefix, env);
- if (NULL != prefix && !up_element->prefix)
+ if (prefix && !up_element->prefix)
{
uri_prefix_element_free(up_element, env);
AXIS2_ERROR_SET(env->error , AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
up_element->key = AXIS2_STRDUP(key, env);
- if (NULL != key && !up_element->key)
+ if (key && !up_element->key)
{
uri_prefix_element_free(up_element, env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -1731,11 +1731,11 @@
axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
writer_impl = AXIS2_INTF_TO_IMPL(writer);
- if (NULL != writer_impl->stack)
+ if (writer_impl->stack)
{
axis2_array_list_t *array_list = NULL;
array_list = axis2_array_list_create(env, 10);
- if (NULL != array_list)
+ if (array_list)
{
AXIS2_STACK_PUSH(writer_impl->stack, env, array_list);
return AXIS2_SUCCESS;
@@ -1779,13 +1779,13 @@
writer_impl->default_lang_namespace =
uri_prefix_element_create(env, AXIS2_XMLNS_NAMESPACE_URI,
AXIS2_XMLNS_PREFIX, AXIS2_XMLNS_PREFIX, key);
- if (NULL != key)
+ if (key)
{
AXIS2_FREE(env->allocator, key);
key = NULL;
}
- if (NULL != writer_impl->uri_prefix_map)
+ if (writer_impl->uri_prefix_map)
{
axis2_hash_set(writer_impl->uri_prefix_map,
writer_impl->default_lang_namespace->key ,
@@ -1817,14 +1817,14 @@
axis2_array_list_t *context = NULL;
void *value = NULL;
value = AXIS2_STACK_GET_AT(writer_impl->stack, env, i);
- if (NULL != value)
+ if (value)
{
uri_prefix_element_t *up_ele = NULL;
context = (axis2_array_list_t *)value;
up_ele =
axis2_libxml2_writer_wrapper_find_prefix_in_context(
context, env, uri);
- if (NULL != up_ele)
+ if (up_ele)
{
return up_ele->real_prefix;
}
@@ -1849,10 +1849,10 @@
uri_prefix_element_t *ele = NULL;
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(context, env, i);
- if (NULL != value)
+ if (value)
{
ele = (uri_prefix_element_t*)value;
- if (NULL != ele->uri && AXIS2_STRCMP(uri, ele->uri))
+ if (ele->uri && AXIS2_STRCMP(uri, ele->uri))
{
return ele;
}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_body.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_body.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_body.c Mon Sep 18 18:39:03 2006
@@ -208,12 +208,12 @@
body_impl = AXIS2_INTF_TO_IMPL(body);
- if (NULL != body_impl->soap_fault)
+ if (body_impl->soap_fault)
{
AXIOM_SOAP_FAULT_FREE(body_impl->soap_fault, env);
body_impl->soap_fault = NULL;
}
- if (NULL != body->ops)
+ if (body->ops)
{
AXIS2_FREE(env->allocator, body->ops);
body->ops = NULL;
@@ -238,14 +238,14 @@
int status = AXIS2_SUCCESS;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
body_impl = AXIS2_INTF_TO_IMPL(body);
- if (NULL != body_impl->soap_fault)
+ if (body_impl->soap_fault)
{
body_impl->has_fault = AXIS2_TRUE;
return AXIS2_TRUE;
}
else
{
- if (NULL != body_impl->soap_builder)
+ if (body_impl->soap_builder)
{
while (!(body_impl->soap_fault) && !(AXIOM_NODE_IS_COMPLETE(body_impl->om_ele_node, env)))
{
@@ -278,11 +278,11 @@
axiom_soap_body_impl_t *body_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
body_impl = AXIS2_INTF_TO_IMPL(body);
- if (NULL != body_impl->soap_fault)
+ if (body_impl->soap_fault)
{
return body_impl->soap_fault;
}
- else if (NULL != body_impl->soap_builder)
+ else if (body_impl->soap_builder)
{
while (!(body_impl->soap_fault) && !(AXIOM_NODE_IS_COMPLETE(body_impl->om_ele_node, env)))
{
@@ -404,7 +404,7 @@
axiom_soap_body_impl_t *body_impl = NULL;
AXIS2_PARAM_CHECK(env->error, soap_fault, AXIS2_FAILURE);
body_impl = AXIS2_INTF_TO_IMPL(body);
- if (NULL != body_impl->soap_fault)
+ if (body_impl->soap_fault)
{
AXIS2_ERROR_SET(env->error,
AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY, AXIS2_FAILURE);
@@ -428,7 +428,7 @@
AXIS2_PARAM_CHECK(env->error, child, AXIS2_FAILURE);
body_impl = AXIS2_INTF_TO_IMPL(body);
- if (NULL != body_impl->om_ele_node)
+ if (body_impl->om_ele_node)
{
return AXIOM_NODE_ADD_CHILD(body_impl->om_ele_node, env, child);
}
@@ -453,7 +453,7 @@
if (!om_ns)
return AXIS2_FAILURE;
uri = AXIOM_NAMESPACE_GET_URI(om_ns, env);
- if (NULL != uri)
+ if (uri)
{
if (AXIS2_STRCMP(uri, AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI) == 0)
return AXIOM_SOAP11;
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c Mon Sep 18 18:39:03 2006
@@ -265,7 +265,7 @@
return AXIS2_FAILURE;
builder_impl = AXIS2_INTF_TO_IMPL(builder);
- if (NULL != builder_impl->builder_helper)
+ if (builder_impl->builder_helper)
{
if (builder_impl->soap_version == AXIOM_SOAP11 && builder_impl->builder_helper)
{
@@ -278,13 +278,13 @@
builder_impl->builder_helper = NULL;
}
}
-
- /*if (NULL != builder_impl->om_builder)
+
+ /*if ( builder_impl->om_builder)
{
AXIOM_STAX_BUILDER_FREE(builder_impl->om_builder, env);
builder_impl->om_builder = NULL;
}*/
- if (NULL != builder->ops)
+ if (builder->ops)
{
AXIS2_FREE(env->allocator, builder->ops);
builder->ops = NULL;
@@ -823,7 +823,7 @@
ns_uri = AXIOM_NAMESPACE_GET_URI(om_ns, env);
- if (ns_uri != NULL)
+ if (ns_uri)
{
if (soap_version_uri_from_transport && AXIS2_STRCMP(soap_version_uri_from_transport, ns_uri) != 0)
{
@@ -880,7 +880,7 @@
soap_header = AXIOM_SOAP_ENVELOPE_GET_HEADER(builder_impl->soap_envelope, env);
- if (soap_header != NULL)
+ if (soap_header)
{
om_node = AXIOM_SOAP_HEADER_GET_BASE_NODE(soap_header, env);
if (om_node)
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c Mon Sep 18 18:39:03 2006
@@ -443,18 +443,18 @@
axis2_char_t *text = NULL;
fault_code_om_node = AXIOM_SOAP_FAULT_CODE_GET_BASE_NODE(fault_code, env);
- if (NULL != fault_code_om_node)
+ if (fault_code_om_node)
{
fault_code_om_ele = (axiom_element_t *)
AXIOM_NODE_GET_DATA_ELEMENT(fault_code_om_node, env);
- if (NULL != fault_code_om_ele)
+ if (fault_code_om_ele)
{
AXIOM_ELEMENT_SET_LOCALNAME(fault_code_om_ele,
env, AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME);
fault_value = AXIOM_SOAP_FAULT_CODE_GET_VALUE(fault_code, env);
- if (NULL != fault_value)
+ if (fault_value)
{
fault_value_om_node = AXIOM_SOAP_FAULT_VALUE_GET_BASE_NODE(fault_value, env);
if (fault_value_om_node)
@@ -465,7 +465,7 @@
if (fault_value_om_ele)
{
text = AXIOM_ELEMENT_GET_TEXT(fault_value_om_ele, env, fault_value_om_node);
- if (NULL != text)
+ if (text)
{
AXIOM_ELEMENT_SET_TEXT(fault_code_om_ele, env, text, fault_code_om_node);
}
@@ -501,7 +501,7 @@
fault_text =
AXIOM_SOAP_FAULT_REASON_GET_FIRST_SOAP_FAULT_TEXT(fault_reason, env);
- if (NULL != fault_text)
+ if (fault_text)
{
fault_text_om_node = AXIOM_SOAP_FAULT_TEXT_GET_BASE_NODE(fault_text, env);
if (fault_text_om_node)
@@ -512,7 +512,7 @@
if (fault_text_om_ele)
{
text = AXIOM_ELEMENT_GET_TEXT(fault_text_om_ele, env, fault_text_om_node);
- if (NULL != text)
+ if (text)
{
AXIOM_ELEMENT_SET_TEXT(fault_reason_om_ele,
env, text, fault_reason_om_node);
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c Mon Sep 18 18:39:03 2006
@@ -599,7 +599,7 @@
if (!detail)
return NULL;
detail_node = AXIOM_SOAP_FAULT_DETAIL_GET_BASE_NODE(detail, env);
- if (NULL != detail_node)
+ if (detail_node)
{
detail_ele = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(
detail_node, env);
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c Mon Sep 18 18:39:03 2006
@@ -204,17 +204,17 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
fault_code_impl = AXIS2_INTF_TO_IMPL(fault_code);
- if (NULL != fault_code_impl->subcode)
+ if (fault_code_impl->subcode)
{
AXIOM_SOAP_FAULT_SUB_CODE_FREE(fault_code_impl->subcode, env);
fault_code_impl->subcode = NULL;
}
- if (NULL != fault_code_impl->value)
+ if (fault_code_impl->value)
{
AXIOM_SOAP_FAULT_VALUE_FREE(fault_code_impl->value, env);
fault_code_impl->value = NULL;
}
- if (NULL != fault_code->ops)
+ if (fault_code->ops)
{
AXIS2_FREE(env->allocator, fault_code->ops);
fault_code->ops = NULL;
@@ -284,11 +284,11 @@
AXIS2_ENV_CHECK(env, NULL);
fault_code_impl = AXIS2_INTF_TO_IMPL(fault_code);
- if (NULL != fault_code_impl->subcode)
+ if (fault_code_impl->subcode)
{
return fault_code_impl->subcode;
}
- else if (NULL != fault_code_impl->builder)
+ else if (fault_code_impl->builder)
{
while (!(fault_code_impl->subcode) &&
!(AXIOM_NODE_IS_COMPLETE(fault_code_impl->om_ele_node, env)))
@@ -315,7 +315,7 @@
fault_code_impl = AXIS2_INTF_TO_IMPL(fault_code);
- if (NULL != fault_code_impl->value)
+ if (fault_code_impl->value)
{
return fault_code_impl->value;
}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c Mon Sep 18 18:39:03 2006
@@ -169,7 +169,7 @@
const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if (NULL != fault_node->ops)
+ if (fault_node->ops)
{
AXIS2_FREE(env->allocator, fault_node->ops);
fault_node->ops = NULL;
@@ -191,12 +191,12 @@
AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
fault_node_impl = AXIS2_INTF_TO_IMPL(fault_node);
- if (NULL != fault_node_impl->om_ele_node)
+ if (fault_node_impl->om_ele_node)
{
om_ele = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(
fault_node_impl->om_ele_node, env);
- if (NULL != om_ele)
+ if (om_ele)
{
return AXIOM_ELEMENT_SET_TEXT(om_ele, env, uri,
fault_node_impl->om_ele_node);
@@ -216,11 +216,11 @@
AXIS2_ENV_CHECK(env, NULL);
fault_node_impl = AXIS2_INTF_TO_IMPL(fault_node);
- if (NULL != fault_node_impl->om_ele_node)
+ if (fault_node_impl->om_ele_node)
{
om_ele = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(
fault_node_impl->om_ele_node, env);
- if (NULL != om_ele)
+ if (om_ele)
{
return AXIOM_ELEMENT_GET_TEXT(om_ele,
env, fault_node_impl->om_ele_node);
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c Mon Sep 18 18:39:03 2006
@@ -197,7 +197,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
fault_reason_impl = AXIS2_INTF_TO_IMPL(fault_reason);
- if (NULL != fault_reason_impl->fault_texts)
+ if (fault_reason_impl->fault_texts)
{
int size = 0;
int i = 0;
@@ -208,7 +208,7 @@
axiom_soap_fault_text_t *fault_text = NULL;
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(fault_reason_impl->fault_texts, env, i);
- if (NULL != value)
+ if (value)
{
fault_text = (axiom_soap_fault_text_t *)value;
AXIOM_SOAP_FAULT_TEXT_FREE(fault_text, env);
@@ -218,7 +218,7 @@
AXIS2_ARRAY_LIST_FREE(fault_reason_impl->fault_texts, env);
fault_reason_impl->fault_texts = NULL;
}
- if (NULL != fault_reason->ops)
+ if (fault_reason->ops)
{
AXIS2_FREE(env->allocator, fault_reason->ops);
fault_reason->ops = NULL;
@@ -252,7 +252,7 @@
if (!fault_reason_impl->fault_texts)
{
- if (NULL != fault_reason_impl->soap_builder &&
+ if (fault_reason_impl->soap_builder &&
!(AXIOM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
{
while (!(AXIOM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
@@ -275,12 +275,12 @@
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(fault_reason_impl->fault_texts, env, i);
- if (NULL != value)
+ if (value)
{
axis2_char_t *fault_lang = NULL;
fault_text = (axiom_soap_fault_text_t *)value;
fault_lang = AXIOM_SOAP_FAULT_TEXT_GET_LANG(fault_text, env);
- if (NULL != fault_lang && AXIS2_STRCMP(lang, fault_lang) == 0)
+ if (fault_lang && AXIS2_STRCMP(lang, fault_lang) == 0)
{
return fault_text;
}
@@ -344,7 +344,7 @@
int status = AXIS2_SUCCESS;
fault_reason_impl = AXIS2_INTF_TO_IMPL(fault_reason);
- if (!(fault_reason_impl->fault_texts) && (NULL != fault_reason_impl->soap_builder))
+ if (!(fault_reason_impl->fault_texts) && (fault_reason_impl->soap_builder))
{
if (!(AXIOM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
{
@@ -369,7 +369,7 @@
int status = AXIS2_SUCCESS;
fault_reason_impl = AXIS2_INTF_TO_IMPL(fault_reason);
- if (!(fault_reason_impl->fault_texts) && (NULL != fault_reason_impl->soap_builder))
+ if (!(fault_reason_impl->fault_texts) && (fault_reason_impl->soap_builder))
{
if (!(AXIOM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
{
@@ -381,11 +381,11 @@
}
}
}
- if (NULL != fault_reason_impl->fault_texts)
+ if (fault_reason_impl->fault_texts)
{
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(fault_reason_impl->fault_texts, env, 0);
- if (NULL != value)
+ if (value)
return (axiom_soap_fault_text_t*)value;
}
return NULL;
@@ -415,7 +415,7 @@
axis2_char_t *lang = NULL;
axis2_bool_t is_exists = AXIS2_FALSE;
lang = AXIOM_SOAP_FAULT_TEXT_GET_LANG(fault_text, env);
- if (NULL != lang)
+ if (lang)
{
is_exists = axiom_soap_fault_reason_lang_exists(fault_reason, env, lang);
if (is_exists == AXIS2_TRUE)
@@ -447,13 +447,13 @@
axiom_soap_fault_text_t *fault_text = NULL;
void *value = NULL;
value = AXIS2_ARRAY_LIST_GET(fault_reason_impl->fault_texts, env, i);
- if (NULL != value)
+ if (value)
{
axis2_char_t *text_lang = NULL;
fault_text = (axiom_soap_fault_text_t *)value;
text_lang = AXIOM_SOAP_FAULT_TEXT_GET_LANG(fault_text, env);
- if (NULL != text_lang && (AXIS2_STRCMP(lang, text_lang) == 0))
+ if (text_lang && (AXIS2_STRCMP(lang, text_lang) == 0))
{
return AXIS2_TRUE;
}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c Mon Sep 18 18:39:03 2006
@@ -170,7 +170,7 @@
const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if (NULL != fault_role->ops)
+ if (fault_role->ops)
{
AXIS2_FREE(env->allocator, fault_role->ops);
fault_role->ops = NULL;
@@ -198,7 +198,7 @@
role_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT
(fault_role_impl->om_ele_node, env);
- if (NULL != role_ele)
+ if (role_ele)
{
return AXIOM_ELEMENT_SET_TEXT(role_ele, env, uri,
fault_role_impl->om_ele_node);
@@ -222,7 +222,7 @@
role_ele = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT
(fault_role_impl->om_ele_node, env);
- if (NULL != role_ele)
+ if (role_ele)
{
return AXIOM_ELEMENT_GET_TEXT(role_ele, env,
fault_role_impl->om_ele_node);
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c?view=diff&rev=447671&r1=447670&r2=447671
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c Mon Sep 18 18:39:03 2006
@@ -207,17 +207,17 @@
axiom_soap_fault_sub_code_impl_t *fault_sub_code_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
fault_sub_code_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
- if (NULL != fault_sub_code_impl->value)
+ if (fault_sub_code_impl->value)
{
AXIOM_SOAP_FAULT_VALUE_FREE(fault_sub_code_impl->value, env);
fault_sub_code_impl->value = NULL;
}
- if (NULL != fault_sub_code_impl->subcode)
+ if (fault_sub_code_impl->subcode)
{
AXIOM_SOAP_FAULT_SUB_CODE_FREE(fault_sub_code_impl->subcode, env);
fault_sub_code_impl->subcode = NULL;
}
- if (NULL != fault_sub_code->ops)
+ if (fault_sub_code->ops)
{
AXIS2_FREE(env->allocator, fault_sub_code->ops);
fault_sub_code->ops = NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org