From e698cfad08785b08ff7e536ee6ea22704858c35e Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 24 Oct 2023 14:51:02 -0400 Subject: [PATCH] ignore unread field warning --- src/main/java/io/cryostat/rules/Rule.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/io/cryostat/rules/Rule.java b/src/main/java/io/cryostat/rules/Rule.java index 10e306450..c371472bd 100644 --- a/src/main/java/io/cryostat/rules/Rule.java +++ b/src/main/java/io/cryostat/rules/Rule.java @@ -42,6 +42,11 @@ @Entity @EntityListeners(Rule.Listener.class) +@SuppressFBWarnings( + value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD", + justification = + "rule.description is not used directly anywhere, but it is serialized and may be" + + " displayed by clients") public class Rule extends PanacheEntity { public static final String RULE_ADDRESS = "io.cryostat.rules.Rule";