LuciferYang commented on PR #13235: URL: https://github.com/apache/gravitino/pull/13235#issuecomment-5698310386
Addressed in d15abc27d: the test now asserts `NoSuchEntityException` is a `NotFoundException` for both constructors, pinning the parent that drives the 404 mapping. The locals stay typed as `Object` so the `instanceof` checks run at runtime; error-prone's `BadInstanceof` rejects `instanceof` on a statically-known subtype under `-Werror`. On the empty-args message: delegating to the parent's `@FormatMethod` chain (which skips `String.format` when there are no args) is intentional alignment with the sibling `NoSuch*` exceptions, not a regression. -- 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]
