Skip to content

Commit

Permalink
feat: fix bug 3187 (#3188)
Browse files Browse the repository at this point in the history
Co-authored-by: kayle <[email protected]>
  • Loading branch information
1109471432 and kayle committed Jul 14, 2023
1 parent 0d4e67d commit cb466f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class CapabilityValue {
public static Object fromString(Object value) {
if (isaBoolean(value)) {
return Boolean.getBoolean(value.toString());
return Boolean.parseBoolean(value.toString());
}
if (isAnInteger(value)) {
return Integer.parseInt(value.toString());
Expand Down

0 comments on commit cb466f8

Please sign in to comment.