Skip to content

Improve Resource Loading Approach #39

Open
@arkaprovob

Description

@arkaprovob

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions