mirror of https://github.com/apache/activemq.git
Mark `staticCache' final
This fixes a warning in NetBeans IDE about synchronizing on a non-final field.
This commit is contained in:
parent
6d36c490e5
commit
7480c66031
|
@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
public class PropertiesLoader {
|
||||
private static final Logger LOG = LoggerFactory.getLogger(PropertiesLoader.class);
|
||||
static Map<FileNameKey, ReloadableProperties> staticCache = new HashMap<FileNameKey, ReloadableProperties>();
|
||||
static final Map<FileNameKey, ReloadableProperties> staticCache = new HashMap<FileNameKey, ReloadableProperties>();
|
||||
protected boolean debug;
|
||||
|
||||
public void init(Map options) {
|
||||
|
|
Loading…
Reference in New Issue