Skip to content

Commit

Permalink
Fix incorrect cast to double instead of Integer (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrollyLoki authored Oct 6, 2023
1 parent aa33964 commit 166281c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public List<String> getStringListOrEmpty(@NotNull String key) {
return new Pair<>(false, Double.valueOf(str));
}
else if (input instanceof Integer) {
return new Pair<>(false, (double) input);
return new Pair<>(false, (Integer) input);
}
else
return new Pair<>(false, (double) input);
Expand Down

0 comments on commit 166281c

Please sign in to comment.