Naresh-kumar-Thodupunoori opened a new pull request, #4414:
URL: https://github.com/apache/gravitino/pull/4414

   # Issue -> https://github.com/apache/gravitino/issues/4408
   
   # Pull Request Description
   
   **Title:** feat: Calls to code marked @VisibleForTesting in production code
   
   **Description:**
   This pull request addresses an issue where code marked with 
`@VisibleForTesting` was being called in production code. The 
`@VisibleForTesting` annotation is typically used to indicate that a method or 
class should only be accessed from within test code, and its presence in 
production code can lead to unintended consequences or misuse.
   
   **Changes:**
   - Removed the `@VisibleForTesting` annotation from the `loadCatalogBackend` 
method in `CatalogUtils`.
   
   **Impact:**
   - This change ensures that the `loadCatalogBackend` method is clearly marked 
for use in both production and test environments, aligning with its current 
usage.
   
   ---
   
   By addressing the use of `@VisibleForTesting` annotations in production, 
this pull request improves code clarity and maintainability. 
   


-- 
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