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 da...@apache.org on 2008/03/21 04:33:32 UTC
svn commit: r639534 -
/webservices/axis2/trunk/c/src/core/description/phase_rule.c
Author: damitha
Date: Thu Mar 20 20:33:31 2008
New Revision: 639534
URL: http://svn.apache.org/viewvc?rev=639534&view=rev
Log:
Removed AXIS2_ENV_CHECK
Modified:
webservices/axis2/trunk/c/src/core/description/phase_rule.c
Modified: webservices/axis2/trunk/c/src/core/description/phase_rule.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/phase_rule.c?rev=639534&r1=639533&r2=639534&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/phase_rule.c (original)
+++ webservices/axis2/trunk/c/src/core/description/phase_rule.c Thu Mar 20 20:33:31 2008
@@ -47,8 +47,6 @@
{
axis2_phase_rule_t *phase_rule = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
phase_rule = AXIS2_MALLOC(env->allocator, sizeof(axis2_phase_rule_t));
if (!phase_rule)
{
@@ -85,8 +83,6 @@
const axutil_env_t * env,
const axis2_char_t * before)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-
if (phase_rule->before)
{
AXIS2_FREE(env->allocator, phase_rule->before);
@@ -120,8 +116,6 @@
const axutil_env_t * env,
const axis2_char_t * after)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-
if (phase_rule->after)
{
AXIS2_FREE(env->allocator, phase_rule->after);
@@ -155,8 +149,6 @@
const axutil_env_t * env,
const axis2_char_t * name)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-
if (phase_rule->name)
{
AXIS2_FREE(env->allocator, phase_rule->name);
@@ -181,7 +173,6 @@
const axis2_phase_rule_t * phase_rule,
const axutil_env_t * env)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
return phase_rule->first;
}
@@ -191,7 +182,6 @@
const axutil_env_t * env,
axis2_bool_t first)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
phase_rule->first = first;
return AXIS2_SUCCESS;
}
@@ -201,7 +191,6 @@
const axis2_phase_rule_t * phase_rule,
const axutil_env_t * env)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
return phase_rule->last;
}
@@ -211,7 +200,6 @@
const axutil_env_t * env,
axis2_bool_t last)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
phase_rule->last = last;
return AXIS2_SUCCESS;
}
@@ -221,8 +209,6 @@
axis2_phase_rule_t * phase_rule,
const axutil_env_t * env)
{
- AXIS2_ENV_CHECK(env, void);
-
if (phase_rule->before)
{
AXIS2_FREE(env->allocator, phase_rule->before);
@@ -249,7 +235,6 @@
const axutil_env_t * env)
{
axis2_phase_rule_t *phase_rule_new = NULL;
- AXIS2_ENV_CHECK(env, NULL);
phase_rule_new = axis2_phase_rule_create(env, NULL);
if (!phase_rule_new)
@@ -272,3 +257,4 @@
return phase_rule_new;
}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org