HDDS-1170. Fix the FindBugs issue in OzoneClientAdapterFactory. Contributed by Anu Engineer.

This commit is contained in:
Márton Elek 2019-02-25 10:41:43 +01:00
parent 5e91ebd91a
commit a5eb7ce651
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

View File

@ -52,7 +52,7 @@ public static OzoneClientAdapter createAdapter(
bucketStr));
}
@SuppressFBWarnings("DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED")
public static OzoneClientAdapter createAdapter(
String volumeStr,
String bucketStr,
@ -68,6 +68,7 @@ public static OzoneClientAdapter createAdapter(
storageStatistics));
}
@SuppressFBWarnings("DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED")
public static OzoneClientAdapter createAdapter(
String volumeStr,
String bucketStr,