make the inner provider classes static

This commit is contained in:
Glenn Nethercutt 2014-11-11 08:22:00 -05:00
parent c7f9cee4f0
commit e30ac10996
1 changed files with 2 additions and 2 deletions

View File

@ -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;