Removed transient modifier from declarations of Log instance variables
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@673450 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a92c9712d
commit
26ddbc1d1b
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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<String> DEFAULT_SCHEME_PRIORITY = Arrays.asList(new String[] {
|
||||
"ntlm",
|
||||
|
|
|
@ -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 <code>null</code>. */
|
||||
protected final HttpParams applicationParams;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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<HttpConnection,TimeValues> connectionToTimes;
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue