commit | a50a8b7e55762a53fa11e564f4f5f88b7333815c | [log] [tgz] |
---|---|---|
author | Sebastian Bazley <sebb@apache.org> | Tue Aug 20 23:38:11 2013 +0000 |
committer | Sebastian Bazley <sebb@apache.org> | Tue Aug 20 23:38:11 2013 +0000 |
tree | 4de2dd01a18d522a6c70e0423a277d537cf7b041 | |
parent | 50f45fd7d1d79ac57b5473d586467969418e85a8 [diff] |
Private immutable field might as well be final git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jci/trunk@1516031 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java b/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java index d20d02c..e7f5c16 100644 --- a/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java +++ b/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java
@@ -98,7 +98,7 @@ private final MonitorFile file; private long lastModified = -1; private int lastType = TYPE_UNKNOWN; - private Map<String, Entry> children = new HashMap<String, Entry>(); + private final Map<String, Entry> children = new HashMap<String, Entry>(); public Entry(final MonitorFile pFile) { file = pFile;