axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r433592 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
Date Tue, 22 Aug 2006 10:59:53 GMT
Author: deepal
Date: Tue Aug 22 03:59:52 2006
New Revision: 433592

URL: http://svn.apache.org/viewvc?rev=433592&view=rev
Log:
- fixing problem if invoking fault Outflow twice

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java?rev=433592&r1=433591&r2=433592&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/PhasesInfo.java
Tue Aug 22 03:59:52 2006
@@ -220,17 +220,17 @@
     }
 
     public ArrayList getOperationOutFaultPhases() throws DeploymentException {
-        ArrayList oprationOUT_FaultPhases = new ArrayList();
+        ArrayList operationFaultOutPhases = new ArrayList();
         for (int i = 0; i < OUT_FaultPhases.size(); i++) {
             Phase phase = (Phase) OUT_FaultPhases.get(i);
             String phaseName = phase.getPhaseName();
-            if (PhaseMetadata.PHASE_POLICY_DETERMINATION.equals(phaseName)
-                    || PhaseMetadata.PHASE_MESSAGE_OUT.equals(phaseName)) {
-            } else {
-                oprationOUT_FaultPhases.add(copyPhase(phase));
+            if (PhaseMetadata.PHASE_MESSAGE_OUT.equals(phaseName)) {
+                break;
             }
+            operationFaultOutPhases.add(copyPhase(phase));
+
         }
-        return oprationOUT_FaultPhases;
+        return operationFaultOutPhases;
     }
 
     public ArrayList getOperationOutPhases() throws DeploymentException {



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


Mime
View raw message