From a5eb7ce65139a58eba776e311d72c92a6f58405e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Elek?= Date: Mon, 25 Feb 2019 10:41:43 +0100 Subject: [PATCH] HDDS-1170. Fix the FindBugs issue in OzoneClientAdapterFactory. Contributed by Anu Engineer. --- .../org/apache/hadoop/fs/ozone/OzoneClientAdapterFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneClientAdapterFactory.java b/hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneClientAdapterFactory.java index 0352e7dc78..8ab470c2f5 100644 --- a/hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneClientAdapterFactory.java +++ b/hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneClientAdapterFactory.java @@ -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,