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
1 changed files with 2 additions and 1 deletions

View File

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