Skip to content

Commit

Permalink
JSONPropertyIgnore only works on getter
Browse files Browse the repository at this point in the history
Signed-off-by: gqqnbig <[email protected]>
  • Loading branch information
gqqnbig committed Mar 8, 2022
1 parent 02d1485 commit 2c35c3e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public final class MyType {
public static final String STARTED = "STARTED";
public static final String STOPPED = "STOPPED";

@JSONPropertyIgnore()
public void setState(final String state) {
this.state = state;
}
Expand Down

0 comments on commit 2c35c3e

Please sign in to comment.