Skip to content

Commit

Permalink
fix spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Jun 27, 2023
1 parent b475089 commit 9f36ec8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/network/brightspots/rcv/RawContestConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ public void setTreatBlankAsUndeclaredWriteIn(boolean treatBlankAsUndeclaredWrite
/**
* Contest candidate data that can be serialized and deserialized.
*/
@JsonIgnoreProperties(ignoreUnknown = true, value = {"semicolonSeparatedAliases"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public static class Candidate {
private String name;
Expand Down Expand Up @@ -308,8 +307,7 @@ public void trimNameAndAllAliases() {
/**
* Contest rules necessary for tabulation that can be serialized and deserialized.
*/
@SuppressWarnings({"unused", "RedundantSuppression"})
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonIgnoreProperties(ignoreUnknown = true, value = {"undervoteLabel"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public static class ContestRules {

Expand Down

0 comments on commit 9f36ec8

Please sign in to comment.