From 46daeae1d9eb140914140312dadba5b5d4531890 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 2 Sep 2014 05:27:56 -0700 Subject: [PATCH] Address masked fields FindBugs warning --- .../InvalidateSessionAndRetryOn401AndLogoutOnClose.java | 5 ----- project/pom.xml | 1 - 2 files changed, 6 deletions(-) diff --git a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/handlers/InvalidateSessionAndRetryOn401AndLogoutOnClose.java b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/handlers/InvalidateSessionAndRetryOn401AndLogoutOnClose.java index 63db8e0606..119e6b5d9d 100644 --- a/apis/cloudstack/src/main/java/org/jclouds/cloudstack/handlers/InvalidateSessionAndRetryOn401AndLogoutOnClose.java +++ b/apis/cloudstack/src/main/java/org/jclouds/cloudstack/handlers/InvalidateSessionAndRetryOn401AndLogoutOnClose.java @@ -19,7 +19,6 @@ package org.jclouds.cloudstack.handlers; import static org.jclouds.http.HttpUtils.releasePayload; import javax.annotation.PreDestroy; -import javax.annotation.Resource; import org.jclouds.cloudstack.domain.LoginResponse; import org.jclouds.cloudstack.features.SessionApi; @@ -27,7 +26,6 @@ import org.jclouds.domain.Credentials; import org.jclouds.http.HttpCommand; import org.jclouds.http.HttpResponse; import org.jclouds.http.handlers.BackoffLimitedRetryHandler; -import org.jclouds.logging.Logger; import com.google.common.cache.LoadingCache; import com.google.inject.Inject; @@ -38,9 +36,6 @@ import com.google.inject.Singleton; */ @Singleton public class InvalidateSessionAndRetryOn401AndLogoutOnClose extends BackoffLimitedRetryHandler { - @Resource - protected Logger logger = Logger.NULL; - private final LoadingCache authenticationResponseCache; private final SessionApi sessionClient; diff --git a/project/pom.xml b/project/pom.xml index dbda760c3e..a2fd019242 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -814,7 +814,6 @@ EqualsOperandShouldHaveClassCompatibleWithThis, FindBadCast2, FindHEmismatch, - FindMaskedFields, FindNullDeref, FindReturnRef, FindUnsatisfiedObligation,