We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457499f commit 866c142Copy full SHA for 866c142
src/org/openlowcode/tools/structure/TimePeriodDataElt.java
@@ -40,7 +40,7 @@ public void writePayload(MessageWriter writer) throws IOException {
40
41
@Override
42
public String defaultTextRepresentation() {
43
- return payload.toString();
+ return (payload!=null?payload.toString():"[TimePeriod not set]");
44
}
45
46
0 commit comments