maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r650474 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java
Date Tue, 22 Apr 2008 12:32:22 GMT
Author: vsiveton
Date: Tue Apr 22 05:32:10 2008
New Revision: 650474

URL: http://svn.apache.org/viewvc?rev=650474&view=rev
Log:
o caches should be static for performance topics

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java?rev=650474&r1=650473&r2=650474&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/macro/snippet/SnippetMacro.java
Tue Apr 22 05:32:10 2008
@@ -44,13 +44,13 @@
     static final String EOL = System.getProperty( "line.separator" );
 
     /** Holds the cache. */
-    private Map cache = new HashMap();
+    private static Map cache = new HashMap();
 
     /** One hour default cache. */
     private long timeout = 60 * 60 * 1000;
 
     /** Holds the time cache. */
-    private Map timeCached = new HashMap();
+    private static Map timeCached = new HashMap();
 
     /** Debug. */
     private boolean debug = false;



Mime
View raw message