mirror of
https://github.com/nasa/trick.git
synced 2025-01-29 15:43:57 +00:00
Corrected VSBoolean's toString method to return a value that Python will recognize as a boolean.
This commit is contained in:
parent
ab337c20a8
commit
795839dd56
@ -15,4 +15,10 @@ public class VSBoolean extends VSValue<Boolean> {
|
|||||||
setValue(Integer.parseInt(string.trim()) != 0);
|
setValue(Integer.parseInt(string.trim()) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return getValue() ? "True" : "False";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user