From e30ac109962a82dbfe5757287052f38a769081fb Mon Sep 17 00:00:00 2001 From: Glenn Nethercutt Date: Tue, 11 Nov 2014 08:22:00 -0500 Subject: [PATCH] make the inner provider classes static --- .../main/java/io/druid/storage/s3/S3StorageDruidModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 5ee68e8fb44..792136ae8b9 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 @@ -68,7 +68,7 @@ public class S3StorageDruidModule implements DruidModule binder.bind(S3TaskLogs.class).in(LazySingleton.class); } - private class ConfigDrivenAwsCredentialsConfigProvider implements AWSCredentialsProvider + private static class ConfigDrivenAwsCredentialsConfigProvider implements AWSCredentialsProvider { private AWSCredentialsConfig config; @@ -99,7 +99,7 @@ public class S3StorageDruidModule implements DruidModule public void refresh() {} } - private class LazyFileSessionCredentialsProvider implements AWSCredentialsProvider + private static class LazyFileSessionCredentialsProvider implements AWSCredentialsProvider { private AWSCredentialsConfig config; private FileSessionCredentialsProvider provider;