Skip to content
Commit 438d0d28 authored by Carl Harris's avatar Carl Harris
Browse files

added static and final modifier to PreSerializationTransformer field

The LoggingEventPreSerializationTransformer is completely stateless and
therefore inherently thread-safe.  Therefore, there is no reason to
create a distinct instance for each appender.  Moreover, once created it
never needs to be modified, therefore it should be properly marked as
immutable via the final keyword.
parent c8ac1e9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment