ankursha1 opened a new pull request, #10256: URL: https://github.com/apache/gravitino/pull/10256
## Summary Fix: #([10127)](https://github.com/apache/gravitino/issues/10127)) POConverters.java POConverters.fromModelVersionPO(...) currently assumes modelVersionPOs is non-empty and reads modelVersionPOs.get(0). The fix validates the modelVersionPOs object as precondition and throws IllegalArgumentException if null or empty. ## Changes - Added Precondition validation to check null or empty object for modelVersionPOs ## Validation - Added a Junit test to verify IllegalArgumentException thrown when null -- 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]
