hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1240943 - in /httpcomponents/httpasyncclient/trunk/httpasyncclient/src: main/java/org/apache/http/impl/nio/client/ test/java/org/apache/http/impl/nio/client/ test/java/org/apache/http/localserver/
Date Mon, 06 Feb 2012 09:18:28 GMT
Author: olegk
Date: Mon Feb  6 09:18:27 2012
New Revision: 1240943

URL: http://svn.apache.org/viewvc?rev=1240943&view=rev
Log:
TABS -> SPACES

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/impl/nio/client/TestClientAuthentication.java
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/localserver/HttpServerNio.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java?rev=1240943&r1=1240942&r2=1240943&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncRequestDirector.java
Mon Feb  6 09:18:27 2012
@@ -236,7 +236,7 @@ class DefaultAsyncRequestDirector<T> imp
         this.localContext.setAttribute(ExecutionContext.HTTP_TARGET_HOST, target);
         this.localContext.setAttribute(ExecutionContext.HTTP_PROXY_HOST, proxy);
         this.localContext.setAttribute(ExecutionContext.HTTP_CONNECTION, this.managedConn);
-        
+
         if (this.currentRequest == null) {
             this.currentRequest = this.mainRequest.getRequest();
             // Re-write request URI if needed

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/impl/nio/client/TestClientAuthentication.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/impl/nio/client/TestClientAuthentication.java?rev=1240943&r1=1240942&r2=1240943&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/impl/nio/client/TestClientAuthentication.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/impl/nio/client/TestClientAuthentication.java
Mon Feb  6 09:18:27 2012
@@ -152,16 +152,16 @@ public class TestClientAuthentication ex
     static class AuthHandler implements HttpRequestHandler {
 
         private final boolean keepAlive;
-        
+
         AuthHandler(boolean keepAlive) {
             super();
             this.keepAlive = keepAlive;
         }
-        
+
         AuthHandler() {
             this(true);
         }
-        
+
         public void handle(
                 final HttpRequest request,
                 final HttpResponse response,
@@ -174,7 +174,7 @@ public class TestClientAuthentication ex
                 NStringEntity entity = new NStringEntity("success", HTTP.ASCII);
                 response.setEntity(entity);
             }
-            response.setHeader(HTTP.CONN_DIRECTIVE, 
+            response.setHeader(HTTP.CONN_DIRECTIVE,
                     this.keepAlive ? HTTP.CONN_KEEP_ALIVE : HTTP.CONN_CLOSE);
         }
 

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/localserver/HttpServerNio.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/localserver/HttpServerNio.java?rev=1240943&r1=1240942&r2=1240943&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/localserver/HttpServerNio.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/test/java/org/apache/http/localserver/HttpServerNio.java
Mon Feb  6 09:18:27 2012
@@ -63,7 +63,7 @@ public class HttpServerNio {
     }
 
     private void execute(final NHttpServerEventHandler serviceHandler) throws IOException
{
-        IOEventDispatch ioEventDispatch = new DefaultHttpServerIODispatch(serviceHandler,

+        IOEventDispatch ioEventDispatch = new DefaultHttpServerIODispatch(serviceHandler,
                 this.connFactory);
         this.ioReactor.execute(ioEventDispatch);
     }



Mime
View raw message