HDDS-1170. Fix the FindBugs issue in OzoneClientAdapterFactory. Contributed by Anu Engineer.
This commit is contained in:
parent
5e91ebd91a
commit
a5eb7ce651
|
@ -52,7 +52,7 @@ public final class OzoneClientAdapterFactory {
|
||||||
bucketStr));
|
bucketStr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressFBWarnings("DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED")
|
||||||
public static OzoneClientAdapter createAdapter(
|
public static OzoneClientAdapter createAdapter(
|
||||||
String volumeStr,
|
String volumeStr,
|
||||||
String bucketStr,
|
String bucketStr,
|
||||||
|
@ -68,6 +68,7 @@ public final class OzoneClientAdapterFactory {
|
||||||
storageStatistics));
|
storageStatistics));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressFBWarnings("DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED")
|
||||||
public static OzoneClientAdapter createAdapter(
|
public static OzoneClientAdapter createAdapter(
|
||||||
String volumeStr,
|
String volumeStr,
|
||||||
String bucketStr,
|
String bucketStr,
|
||||||
|
|
Loading…
Reference in New Issue