jerryshao commented on code in PR #5634:
URL: https://github.com/apache/gravitino/pull/5634#discussion_r1869366795


##########
catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/fs/FileSystemUtils.java:
##########
@@ -41,12 +41,27 @@ public static Map<String, FileSystemProvider> 
getFileSystemProviders(String file
     ServiceLoader<FileSystemProvider> allFileSystemProviders =
         ServiceLoader.load(FileSystemProvider.class);
 
+    if (null == fileSystemProviders) {

Review Comment:
   I would suggest you to figure out a better way, use `null` value to check 
and differentiate different code path is not a good way.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to