Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Resource Loading Approach #39

Open
arkaprovob opened this issue Oct 17, 2023 · 0 comments
Open

Improve Resource Loading Approach #39

arkaprovob opened this issue Oct 17, 2023 · 0 comments

Comments

@arkaprovob
Copy link
Contributor

Description:
In various parts of our code, we directly provide file paths within the getResourceAsStream method, leading to redundancy. To enhance our resource loading approach, we should explore creating a constant in the class or, preferably, reading the value from a property file.

Benefits:

  • Reduced redundancy in file path declarations.
  • Improved code maintainability.
  • Enhanced flexibility in handling resources.

Implementation:

  1. Choose between creating a constant or reading from a property for resource loading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants