[logback-dev] svn commit: r1363 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Feb 27 21:14:32 CET 2007


Author: ceki
Date: Tue Feb 27 21:14:32 2007
New Revision: 1363

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/LoggerContext.java

Log:
size method is now synchronized

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/LoggerContext.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/LoggerContext.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/LoggerContext.java	Tue Feb 27 21:14:32 2007
@@ -152,7 +152,7 @@
     size++;
   }
 
-  int size() {
+  synchronized int size() {
     return size;
   }
 



More information about the logback-dev mailing list