We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce73aa2 + 55e6b7c commit c2a497bCopy full SHA for c2a497b
1 file changed
asdf-core/src/main/java/org/asdfformat/asdf/node/impl/BooleanAsdfNode.java
@@ -52,7 +52,7 @@ public String getTag() {
52
public boolean asBoolean() {
53
final Boolean result = BOOLEAN_VALUES.get(value.toLowerCase());
54
if (result == null) {
55
- throw new RuntimeException(String.format("Unrecognized boolean value: %s", result));
+ throw new RuntimeException(String.format("Unrecognized boolean value: %s", value));
56
}
57
return result;
58
0 commit comments