You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2012/04/27 14:56:03 UTC
svn commit: r1331402 -
/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java
Author: lukaszlenart
Date: Fri Apr 27 12:56:02 2012
New Revision: 1331402
URL: http://svn.apache.org/viewvc?rev=1331402&view=rev
Log:
WW-3805 solves problem with reloading configuration on each request even no changes to file
Modified:
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java
Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java?rev=1331402&r1=1331401&r2=1331402&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java (original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/fs/DefaultFileManager.java Fri Apr 27 12:56:02 2012
@@ -34,7 +34,8 @@ public class DefaultFileManager implemen
private static Logger LOG = LoggerFactory.getLogger(DefaultFileManager.class);
- private Map<String, Revision> files = Collections.synchronizedMap(new HashMap<String, Revision>());
+ private static Map<String, Revision> files = Collections.synchronizedMap(new HashMap<String, Revision>());
+
protected boolean reloadingConfigs = true;
static final String JAR_FILE_NAME_SEPARATOR = "!/";