Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Commit 5f0da03

Browse files
committed
Judgement notes should be optional.
1 parent 5000aca commit 5f0da03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/garrit/common/messages/JudgementCase.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package org.garrit.common.messages;
22

3+
import com.fasterxml.jackson.annotation.JsonInclude;
4+
import com.fasterxml.jackson.annotation.JsonInclude.Include;
5+
36
import lombok.Data;
47
import lombok.EqualsAndHashCode;
58

@@ -30,6 +33,7 @@ public class JudgementCase extends ExecutionCase
3033
/**
3134
* Any judgement notes may be given here.
3235
*/
36+
@JsonInclude(Include.NON_NULL)
3337
private String notes;
3438

3539
public JudgementCase()

0 commit comments

Comments
 (0)