findbugs fix

This commit is contained in:
Timo Bejan 2021-09-28 15:02:19 +03:00
parent 111fb634f9
commit d299df23bb
2 changed files with 2 additions and 6 deletions

View File

@ -13,9 +13,7 @@ import lombok.NoArgsConstructor;
@SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE") @SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")
public class DigitalSignature { public class DigitalSignature {
public final static String ID = "CONFIG_ID"; private String id;
private final String id = DigitalSignature.ID;
private String location; private String location;
private String reason; private String reason;
private String contactInfo; private String contactInfo;

View File

@ -13,9 +13,7 @@ import lombok.NoArgsConstructor;
@SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE") @SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")
public class SMTPConfiguration { public class SMTPConfiguration {
public final static String ID = "CONFIG_ID"; private String id;
private final String id = SMTPConfiguration.ID;
private String from; private String from;
private String fromDisplayName; private String fromDisplayName;
private String envelopeFrom; private String envelopeFrom;