diff --git a/module-client/src/main/java/org/apache/http/client/protocol/RequestAddCookies.java b/module-client/src/main/java/org/apache/http/client/protocol/RequestAddCookies.java index 98e61c75a..dffb36f92 100644 --- a/module-client/src/main/java/org/apache/http/client/protocol/RequestAddCookies.java +++ b/module-client/src/main/java/org/apache/http/client/protocol/RequestAddCookies.java @@ -69,7 +69,7 @@ import org.apache.http.protocol.ExecutionContext; */ public class RequestAddCookies implements HttpRequestInterceptor { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); public RequestAddCookies() { super(); diff --git a/module-client/src/main/java/org/apache/http/client/protocol/RequestProxyAuthentication.java b/module-client/src/main/java/org/apache/http/client/protocol/RequestProxyAuthentication.java index 5c769ae17..e9f9dd5f1 100644 --- a/module-client/src/main/java/org/apache/http/client/protocol/RequestProxyAuthentication.java +++ b/module-client/src/main/java/org/apache/http/client/protocol/RequestProxyAuthentication.java @@ -54,7 +54,7 @@ import org.apache.http.protocol.HttpContext; */ public class RequestProxyAuthentication implements HttpRequestInterceptor { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); public RequestProxyAuthentication() { super(); diff --git a/module-client/src/main/java/org/apache/http/client/protocol/RequestTargetAuthentication.java b/module-client/src/main/java/org/apache/http/client/protocol/RequestTargetAuthentication.java index 172d7b273..ccd5d3bed 100644 --- a/module-client/src/main/java/org/apache/http/client/protocol/RequestTargetAuthentication.java +++ b/module-client/src/main/java/org/apache/http/client/protocol/RequestTargetAuthentication.java @@ -54,7 +54,7 @@ import org.apache.http.protocol.HttpContext; */ public class RequestTargetAuthentication implements HttpRequestInterceptor { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); public RequestTargetAuthentication() { super(); diff --git a/module-client/src/main/java/org/apache/http/client/protocol/ResponseProcessCookies.java b/module-client/src/main/java/org/apache/http/client/protocol/ResponseProcessCookies.java index 609e7a938..1760770fa 100644 --- a/module-client/src/main/java/org/apache/http/client/protocol/ResponseProcessCookies.java +++ b/module-client/src/main/java/org/apache/http/client/protocol/ResponseProcessCookies.java @@ -61,7 +61,7 @@ import org.apache.http.protocol.HttpContext; */ public class ResponseProcessCookies implements HttpResponseInterceptor { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); public ResponseProcessCookies() { super(); diff --git a/module-client/src/main/java/org/apache/http/impl/client/AbstractAuthenticationHandler.java b/module-client/src/main/java/org/apache/http/impl/client/AbstractAuthenticationHandler.java index f40ea1f84..0ae37bb51 100644 --- a/module-client/src/main/java/org/apache/http/impl/client/AbstractAuthenticationHandler.java +++ b/module-client/src/main/java/org/apache/http/impl/client/AbstractAuthenticationHandler.java @@ -57,7 +57,7 @@ import org.apache.http.util.CharArrayBuffer; */ public abstract class AbstractAuthenticationHandler implements AuthenticationHandler { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); private static final List DEFAULT_SCHEME_PRIORITY = Arrays.asList(new String[] { "ntlm", diff --git a/module-client/src/main/java/org/apache/http/impl/client/ClientParamsStack.java b/module-client/src/main/java/org/apache/http/impl/client/ClientParamsStack.java index 2763158fc..a49bf48b6 100644 --- a/module-client/src/main/java/org/apache/http/impl/client/ClientParamsStack.java +++ b/module-client/src/main/java/org/apache/http/impl/client/ClientParamsStack.java @@ -77,7 +77,7 @@ import org.apache.http.params.AbstractHttpParams; */ public class ClientParamsStack extends AbstractHttpParams { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The application parameter collection, or null. */ protected final HttpParams applicationParams; diff --git a/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java b/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java index 04287820b..7e4ec9f9a 100644 --- a/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java +++ b/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java @@ -106,10 +106,9 @@ import org.apache.http.protocol.HttpRequestExecutor; * * @since 4.0 */ -public class DefaultClientRequestDirector - implements ClientRequestDirector { +public class DefaultClientRequestDirector implements ClientRequestDirector { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The connection manager. */ protected final ClientConnectionManager connManager; diff --git a/module-client/src/main/java/org/apache/http/impl/client/DefaultRedirectHandler.java b/module-client/src/main/java/org/apache/http/impl/client/DefaultRedirectHandler.java index 44ef30d25..192d72d8a 100644 --- a/module-client/src/main/java/org/apache/http/impl/client/DefaultRedirectHandler.java +++ b/module-client/src/main/java/org/apache/http/impl/client/DefaultRedirectHandler.java @@ -64,7 +64,7 @@ import org.apache.http.protocol.ExecutionContext; */ public class DefaultRedirectHandler implements RedirectHandler { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); private static final String REDIRECT_LOCATIONS = "http.protocol.redirect-locations"; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java b/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java index 36b1f599b..d0f24a15a 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java @@ -66,9 +66,9 @@ import org.apache.http.conn.OperatedClientConnection; public class DefaultClientConnection extends SocketHttpClientConnection implements OperatedClientConnection { - private transient final Log log = LogFactory.getLog(getClass()); - private transient final Log headerLog = LogFactory.getLog("org.apache.http.headers"); - private transient final Log wireLog = LogFactory.getLog("org.apache.http.wire"); + private final Log log = LogFactory.getLog(getClass()); + private final Log headerLog = LogFactory.getLog("org.apache.http.headers"); + private final Log wireLog = LogFactory.getLog("org.apache.http.wire"); /** The unconnected socket */ private volatile Socket socket; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/IdleConnectionHandler.java b/module-client/src/main/java/org/apache/http/impl/conn/IdleConnectionHandler.java index c7827c23d..7d3827084 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/IdleConnectionHandler.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/IdleConnectionHandler.java @@ -51,7 +51,7 @@ import org.apache.http.HttpConnection; */ public class IdleConnectionHandler { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** Holds connections and the time they were added. */ private final Map connectionToTimes; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java b/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java index 4494184d8..63a68ecf5 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java @@ -69,7 +69,7 @@ import org.apache.http.params.HttpParams; */ public class SingleClientConnManager implements ClientConnectionManager { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The message to be logged on multiple allocation. */ public final static String MISUSE_MESSAGE = diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/AbstractConnPool.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/AbstractConnPool.java index 7898328ee..3e53423eb 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/AbstractConnPool.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/AbstractConnPool.java @@ -57,7 +57,7 @@ import org.apache.http.impl.conn.IdleConnectionHandler; */ public abstract class AbstractConnPool implements RefQueueHandler { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** * The global lock for this pool. diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java index 1de505f32..faea65119 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java @@ -68,7 +68,7 @@ import org.apache.http.params.HttpParams; */ public class ConnPoolByRoute extends AbstractConnPool { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** Connection operator for this pool */ protected final ClientConnectionOperator operator; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java index f0084b1de..2a86872fb 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java @@ -49,7 +49,7 @@ import org.apache.commons.logging.LogFactory; */ public class RefQueueWorker implements Runnable { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The reference queue to monitor. */ protected final ReferenceQueue refQueue; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RouteSpecificPool.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RouteSpecificPool.java index ef94468e2..7a3f9dd12 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RouteSpecificPool.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RouteSpecificPool.java @@ -49,7 +49,7 @@ import org.apache.http.util.LangUtils; */ public class RouteSpecificPool { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The route this pool is for. */ protected final HttpRoute route; diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java index d4affc84c..5aa9da436 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.java @@ -64,10 +64,9 @@ import org.apache.http.impl.conn.DefaultClientConnectionOperator; * * @since 4.0 */ -public class ThreadSafeClientConnManager - implements ClientConnectionManager { +public class ThreadSafeClientConnManager implements ClientConnectionManager { - private transient final Log log = LogFactory.getLog(getClass()); + private final Log log = LogFactory.getLog(getClass()); /** The schemes supported by this connection manager. */ protected SchemeRegistry schemeRegistry;