Skip to content

Commit

Permalink
- codeQL warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChetanT-System committed Apr 30, 2024
1 parent 3d0adc9 commit 1abea97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void init() {

String resource = "single-level-bom-as-built-v3.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = SingleLevelBomAsBuiltV300.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down

0 comments on commit 1abea97

Please sign in to comment.