Author: reta
Date: Sat Jan 25 17:17:16 2014
New Revision: 1561342

URL: http://svn.apache.org/r1561342
Log:
CXF-5417: Added ConnectionCallback test case and root cause detection. Fixed 
couple of checkstyle violations

Modified:
    
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Servlet3ContinuationProvider.java

Modified: 
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Servlet3ContinuationProvider.java
URL: 
http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Servlet3ContinuationProvider.java?rev=1561342&r1=1561341&r2=1561342&view=diff
==============================================================================
--- 
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Servlet3ContinuationProvider.java
 (original)
+++ 
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Servlet3ContinuationProvider.java
 Sat Jan 25 17:17:16 2014
@@ -125,7 +125,7 @@ public class Servlet3ContinuationProvide
             obj = null;
             if (callback != null) {
                 final Exception ex = 
inMessage.getExchange().get(Exception.class);
-                Throwable cause = isCausedByIO( ex );
+                Throwable cause = isCausedByIO(ex);
                 
                 if (cause != null && isClientDisconnected(cause)) {
                     callback.onDisconnect();    
@@ -178,7 +178,7 @@ public class Servlet3ContinuationProvide
         private Throwable isCausedByIO(final Exception ex) {
             Throwable cause = ex;
             
-            while(cause != null && !(cause instanceof IOException)) {
+            while (cause != null && !(cause instanceof IOException)) {
                 cause = cause.getCause();
             }
             


Reply via email to