From 89f821900c8099848e5d83da2caddd53b49da6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Wed, 13 Nov 2013 11:51:17 -0800 Subject: [PATCH] add imports --- .../java/io/druid/storage/s3/S3StorageDruidModule.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java index 34c23f850c9..f2675251f19 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java @@ -30,6 +30,7 @@ import io.druid.guice.LazySingleton; import io.druid.initialization.DruidModule; import org.jets3t.service.S3ServiceException; import org.jets3t.service.impl.rest.httpclient.RestS3Service; +import org.jets3t.service.security.AWSCredentials; import java.util.List; @@ -60,14 +61,14 @@ public class S3StorageDruidModule implements DruidModule @Provides @LazySingleton - public org.jets3t.service.security.AWSCredentials getJets3tAWSCredentials(AWSCredentialsConfig config) + public AWSCredentials getJets3tAWSCredentials(AWSCredentialsConfig config) { - return new org.jets3t.service.security.AWSCredentials(config.getAccessKey(), config.getSecretKey()); + return new AWSCredentials(config.getAccessKey(), config.getSecretKey()); } @Provides @LazySingleton - public RestS3Service getRestS3Service(org.jets3t.service.security.AWSCredentials credentials) + public RestS3Service getRestS3Service(AWSCredentials credentials) { try { return new RestS3Service(credentials);