Skip to content

Commit

Permalink
Use equals instead of ==
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Apr 3, 2021
1 parent 1d45446 commit 5a0253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/pl/edu/uwb/ii/sdfeater/SDFEater.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5a0253b

Please sign in to comment.