Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] fix: Refine the comments within the createCatalogWrapper method (#4272)

RickyMadee9043be8e4
diff --git a/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java b/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java
index 574248f8eb..66e0ea385d 100644
--- a/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java
+++ b/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java
@@ -668,10 +668,10 @@ public class CatalogManager implements CatalogDispatcher, Closeable {
validatePropertyForCreate(catalog.catalogPropertiesMetadata(), configWithoutId);
// Call wrapper.catalog.properties() to make BaseCatalog#properties in IsolatedClassLoader
- // not null. Why we do this? Because wrapper.catalog.properties() need to be called in the
- // IsolatedClassLoader, it needs to load the specific catalog class such as HiveCatalog or
- // so. For simply, We will preload the value of properties and thus AppClassLoader can get
- // the value of properties.
+ // not null. Why do we do this? Because wrapper.catalog.properties() needs to be called in
+ // the IsolatedClassLoader, as it needs to load the specific catalog class
+ // such as HiveCatalog or similar. To simplify, we will preload the value of properties
+ // so that AppClassLoader can get the value of properties.
wrapper.catalog.properties();
wrapper.catalog.capability();
return null;