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
Please register or sign in to comment