Findbugs violation: AuditEvent.message is transient but isn't set by deserialization. #909
This commit is contained in:
parent
cd6f271a6b
commit
e6034ec381
|
|
@ -37,11 +37,6 @@
|
|||
<Class name="com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck$UniqueProperties" />
|
||||
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
|
||||
</Match>
|
||||
<Match>
|
||||
<!-- till #909 -->
|
||||
<Class name="com.puppycrawl.tools.checkstyle.api.AuditEvent" />
|
||||
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" />
|
||||
</Match>
|
||||
<Match>
|
||||
<!-- false-postive, as Map will return null if key is not found -->
|
||||
<Class name="com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler" />
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public final class AuditEvent
|
|||
/** filename event associated with **/
|
||||
private final String fileName;
|
||||
/** message associated with the event **/
|
||||
private final transient LocalizedMessage message;
|
||||
private final LocalizedMessage message;
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
|
|
|
|||
Loading…
Reference in New Issue