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:
Oleg Kalnichevski 2008-07-02 17:35:05 +00:00
parent 8a92c9712d
commit 26ddbc1d1b
16 changed files with 20 additions and 22 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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",

View File

@ -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;

View File

@ -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;

View File

@ -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";

View File

@ -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;

View File

@ -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;

View File

@ -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 =

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;