cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1244611 - /cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java
Date Wed, 15 Feb 2012 18:01:19 GMT
Author: ay
Date: Wed Feb 15 18:01:19 2012
New Revision: 1244611

URL: http://svn.apache.org/viewvc?rev=1244611&view=rev
Log:
add an option to clear FaultThrowingInterceptor in testutils ControlImpl

Modified:
    cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java

Modified: cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java?rev=1244611&r1=1244610&r2=1244611&view=diff
==============================================================================
--- cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java (original)
+++ cxf/trunk/testutils/src/main/java/org/apache/cxf/greeter_control/ControlImpl.java Wed
Feb 15 18:01:19 2012
@@ -122,6 +122,10 @@ public class ControlImpl implements Cont
                 break;
             }
         }
+        if (null == fl.getPhase() || "".equals(fl.getPhase())) {
+            LOG.fine("Removed FaultThrowingInterceptor");
+            return;
+        }
         
         fi = new FaultThrowingInterceptor(fl.getPhase());
         if (null != fl.getBefore() && !"".equals(fl.getBefore())) {



Mime
View raw message