You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2013/09/09 14:22:38 UTC
svn commit: r1521069 -
/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
Author: olegk
Date: Mon Sep 9 12:22:38 2013
New Revision: 1521069
URL: http://svn.apache.org/r1521069
Log:
HTTPCORE-348: fixed typo
Contributed by Dmitry Potapov <potapov.d at gmail.com>
Modified:
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java?rev=1521069&r1=1521068&r2=1521069&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java Mon Sep 9 12:22:38 2013
@@ -58,7 +58,7 @@ import org.apache.http.util.Args;
@Immutable
public class HttpAsyncRequester {
- private final HttpProcessor httppocessor;
+ private final HttpProcessor httpprocessor;
private final ConnectionReuseStrategy connReuseStrategy;
/**
@@ -67,10 +67,10 @@ public class HttpAsyncRequester {
*/
@Deprecated
public HttpAsyncRequester(
- final HttpProcessor httppocessor,
+ final HttpProcessor httpprocessor,
final ConnectionReuseStrategy reuseStrategy,
final HttpParams params) {
- this(httppocessor, reuseStrategy);
+ this(httpprocessor, reuseStrategy);
}
/**
@@ -79,10 +79,10 @@ public class HttpAsyncRequester {
* @since 4.3
*/
public HttpAsyncRequester(
- final HttpProcessor httppocessor,
+ final HttpProcessor httpprocessor,
final ConnectionReuseStrategy connReuseStrategy) {
super();
- this.httppocessor = Args.notNull(httppocessor, "HTTP processor");
+ this.httpprocessor = Args.notNull(httpprocessor, "HTTP processor");
this.connReuseStrategy = connReuseStrategy != null ? connReuseStrategy :
DefaultConnectionReuseStrategy.INSTANCE;
}
@@ -92,8 +92,8 @@ public class HttpAsyncRequester {
*
* @since 4.3
*/
- public HttpAsyncRequester(final HttpProcessor httppocessor) {
- this(httppocessor, null);
+ public HttpAsyncRequester(final HttpProcessor httpprocessor) {
+ this(httpprocessor, null);
}
/**
@@ -119,7 +119,7 @@ public class HttpAsyncRequester {
Args.notNull(context, "HTTP context");
final BasicAsyncClientExchangeHandler<T> handler = new BasicAsyncClientExchangeHandler<T>(
requestProducer, responseConsumer, callback, context, conn,
- this.httppocessor, this.connReuseStrategy);
+ this.httpprocessor, this.connReuseStrategy);
initExection(handler, conn);
return handler.getFuture();
}
@@ -237,7 +237,7 @@ public class HttpAsyncRequester {
requestProducer, responseConsumer,
new RequestExecutionCallback<T, E>(future, poolEntry, connPool),
context, conn,
- this.httppocessor, this.connReuseStrategy);
+ this.httpprocessor, this.connReuseStrategy);
initExection(handler, conn);
return future;
}
@@ -309,7 +309,7 @@ public class HttpAsyncRequester {
final BasicAsyncClientExchangeHandler<T> handler = new BasicAsyncClientExchangeHandler<T>(
this.requestProducer, this.responseConsumer,
new RequestExecutionCallback<T, E>(this.requestFuture, result, this.connPool),
- this.context, conn, httppocessor, connReuseStrategy);
+ this.context, conn, httpprocessor, connReuseStrategy);
initExection(handler, conn);
}