flying-musk opened a new issue, #399:
URL: https://github.com/apache/rocketmq-dashboard/issues/399
In `AbstractFileStore`, the default resource is currently loaded with:
`getClass().getResourceAsStream("/" + fileName)`
Since `AbstractFileStore` is an abstract class, using `getClass()` makes the
resource lookup depend on the runtime subclass.
A small improvement would be to replace it with:
`AbstractFileStore.class.getResourceAsStream("/" + fileName)`
This makes the lookup context explicit and stable, and should avoid
inheritance-related ambiguity without changing the intended behavior.
--
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]