poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1761660 - /poi/trunk/src/java/org/apache/poi/util/POILogFactory.java
Date Wed, 21 Sep 2016 02:05:58 GMT
Author: onealj
Date: Wed Sep 21 02:05:58 2016
New Revision: 1761660

URL: http://svn.apache.org/viewvc?rev=1761660&view=rev
Log:
make POILogFactory _loggers cache final

Modified:
    poi/trunk/src/java/org/apache/poi/util/POILogFactory.java

Modified: poi/trunk/src/java/org/apache/poi/util/POILogFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/POILogFactory.java?rev=1761660&r1=1761659&r2=1761660&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/util/POILogFactory.java (original)
+++ poi/trunk/src/java/org/apache/poi/util/POILogFactory.java Wed Sep 21 02:05:58 2016
@@ -35,7 +35,7 @@ public final class POILogFactory {
     /**
      * Map of POILogger instances, with classes as keys
      */
-    private static Map<String,POILogger> _loggers = new HashMap<String,POILogger>();
+    private static final Map<String,POILogger> _loggers = new HashMap<String,POILogger>();
 
     /**
      * A common instance of NullLogger, as it does nothing



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message