diff --git a/src/main/java/pl/edu/uwb/ii/sdfeater/SDFEater.java b/src/main/java/pl/edu/uwb/ii/sdfeater/SDFEater.java index f821a27..5dee2eb 100644 --- a/src/main/java/pl/edu/uwb/ii/sdfeater/SDFEater.java +++ b/src/main/java/pl/edu/uwb/ii/sdfeater/SDFEater.java @@ -97,7 +97,7 @@ public static void main(String[] args) { cmd = parser.parse(options, args); String fileparam = cmd.getOptionValue("input"); File file = new File(fileparam); - if (cmd.getOptionValue("format") == "cypherp" || cmd.getOptionValue("format") == "cypherup") { + if (cmd.getOptionValue("format").equals("cypherp") || cmd.getOptionValue("format").equals("cypherup")) { loadPeriodicTableData(); } initializeJenaModel();