Do not override S3 provider methods

Fixes Guice 4.0 support.
This commit is contained in:
Andrew Gaul 2016-01-21 03:21:47 -08:00
parent 7b3a300d51
commit 100d1dac6c
1 changed files with 7 additions and 0 deletions

View File

@ -251,6 +251,13 @@ public class S3HttpApiModule<S extends S3Client> extends AWSHttpApiModule<S> {
@Provides
@TimeStamp
@Singleton
protected final Supplier<Date> guiceProvideTimeStampCacheDate(
@Named(Constants.PROPERTY_SESSION_INTERVAL) long seconds,
@TimeStamp final Supplier<String> timestamp,
final DateService dateService) {
return provideTimeStampCacheDate(seconds, timestamp, dateService);
}
protected Supplier<Date> provideTimeStampCacheDate(
@Named(Constants.PROPERTY_SESSION_INTERVAL) long seconds,
@TimeStamp final Supplier<String> timestamp,