From dc77373d072d6d09f0816d9368322a7c749ea91e Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Mon, 16 Jan 2023 10:14:20 +0100 Subject: [PATCH] refactoring: static to non-static method --- src/main/java/org/bitbiome/classes/JsonParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bitbiome/classes/JsonParser.java b/src/main/java/org/bitbiome/classes/JsonParser.java index be0e9b8..e63dd87 100644 --- a/src/main/java/org/bitbiome/classes/JsonParser.java +++ b/src/main/java/org/bitbiome/classes/JsonParser.java @@ -22,7 +22,7 @@ public class JsonParser { https://github.com/stleary/JSON-java */ - public static JSONObject getJSONObject(String fileName) { + public JSONObject getJSONObject(String fileName) { String resourceName = "./../../" + fileName; InputStream is = JsonParser.class.getResourceAsStream(resourceName); if (is == null) {