Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: 438d0d284cf407e1373e9c9c4217061edd15615c
      
https://github.com/qos-ch/logback/commit/438d0d284cf407e1373e9c9c4217061edd15615c
  Author: Carl Harris <[email protected]>
  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.



_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to