mirror of https://github.com/apache/druid.git
make the inner provider classes static
This commit is contained in:
parent
c7f9cee4f0
commit
e30ac10996
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue