Skip to content

Commit

Permalink
Exempt com.fasterxml.jackson.annotation.JsonProperty from UnusedVariable
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaojian Wang committed Jul 22, 2024
1 parent 053f721 commit c068634
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public final class UnusedVariable extends BugChecker implements CompilationUnitT
*/
private static final ImmutableSet<String> EXEMPTING_VARIABLE_ANNOTATIONS =
ImmutableSet.of(
"com.fasterxml.jackson.annotation.JsonProperty",
"javax.persistence.Basic",
"javax.persistence.Column",
"javax.persistence.Id",
Expand Down

0 comments on commit c068634

Please sign in to comment.