[logback-dev] [qos-ch/logback] 438d0d: added static and final modifier to PreSerializatio...
Carl Harris
ceharris at vt.edu
Sat Apr 27 16:16:21 CEST 2013
Branch: refs/heads/master
Home: https://github.com/qos-ch/logback
Commit: 438d0d284cf407e1373e9c9c4217061edd15615c
https://github.com/qos-ch/logback/commit/438d0d284cf407e1373e9c9c4217061edd15615c
Author: Carl Harris <ceharris at vt.edu>
Date: 2013-04-27 (Sat, 27 Apr 2013)
Changed paths:
M logback-classic/src/main/java/ch/qos/logback/classic/net/SocketAppender.java
Log Message:
-----------
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.
More information about the logback-dev
mailing list