Skip to content

Commit 866c142

Browse files
author
Open Lowcode SAS
committed
Close #134
1 parent 457499f commit 866c142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/openlowcode/tools/structure/TimePeriodDataElt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void writePayload(MessageWriter writer) throws IOException {
4040

4141
@Override
4242
public String defaultTextRepresentation() {
43-
return payload.toString();
43+
return (payload!=null?payload.toString():"[TimePeriod not set]");
4444
}
4545

4646
@Override

0 commit comments

Comments
 (0)