JeonDaehong opened a new pull request, #8376:
URL: https://github.com/apache/gravitino/pull/8376
**What changes were proposed in this pull request?**
In
common/src/main/java/org/apache/gravitino/dto/responses/OAuth2TokenResponse.java,
the validate() method was missing a call to super.validate(). This PR adds the
super.validate() call to ensure that the parent class validation logic is
executed before the subclass-specific checks.
**Why are the changes needed?**
Without calling super.validate(), the validation logic defined in
BaseResponse is skipped, which could allow invalid responses to pass through.
Adding the call ensures both parent and subclass validations are performed
correctly.
**Does this PR introduce any user-facing change?**
No. This change only affects internal validation logic.
**Fixes:** #8303
--
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]