HADOOP-15740. ABFS: Check variable names during initialization of AbfsClientThrottlingIntercept.

Contributed by Sneha Varma.
This commit is contained in:
Thomas Marquardt 2018-09-12 21:53:09 +00:00 committed by Yuan Gao
parent a192d85a5f
commit 36b2bab888
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ public final class AbfsClientThrottlingIntercept {
writeThrottler = new AbfsClientThrottlingAnalyzer("write");
}
public static synchronized void initializeSingleton(boolean isAutoThrottlingEnabled) {
if (!isAutoThrottlingEnabled) {
public static synchronized void initializeSingleton(boolean enableAutoThrottling) {
if (!enableAutoThrottling) {
return;
}
if (singleton == null) {