mirror of
https://github.com/apache/jclouds.git
synced 2025-02-28 21:39:09 +00:00
Do not override S3 provider methods
Fixes Guice 4.0 support.
This commit is contained in:
parent
7b3a300d51
commit
100d1dac6c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user