HADOOP-14310. RolloverSignerSecretProvider.LOG should be @VisibleForTesting
(Contributed by Arun Shanmugam Kumar via Daniel Templeton)
This commit is contained in:
parent
d64c842743
commit
86368cc766
|
@ -181,6 +181,11 @@
|
||||||
<version>${apacheds.version}</version>
|
<version>${apacheds.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.guava</groupId>
|
||||||
|
<artifactId>guava</artifactId>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -18,6 +18,7 @@ import java.util.concurrent.Executors;
|
||||||
import java.util.concurrent.ScheduledExecutorService;
|
import java.util.concurrent.ScheduledExecutorService;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import javax.servlet.ServletContext;
|
import javax.servlet.ServletContext;
|
||||||
|
import com.google.common.annotations.VisibleForTesting;
|
||||||
import org.apache.hadoop.classification.InterfaceAudience;
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
import org.apache.hadoop.classification.InterfaceStability;
|
import org.apache.hadoop.classification.InterfaceStability;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
@ -38,6 +39,7 @@ import org.slf4j.LoggerFactory;
|
||||||
public abstract class RolloverSignerSecretProvider
|
public abstract class RolloverSignerSecretProvider
|
||||||
extends SignerSecretProvider {
|
extends SignerSecretProvider {
|
||||||
|
|
||||||
|
@VisibleForTesting
|
||||||
static Logger LOG = LoggerFactory.getLogger(
|
static Logger LOG = LoggerFactory.getLogger(
|
||||||
RolloverSignerSecretProvider.class);
|
RolloverSignerSecretProvider.class);
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue