You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/08/21 01:38:12 UTC
svn commit: r1516031 -
/commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java
Author: sebb
Date: Tue Aug 20 23:38:11 2013
New Revision: 1516031
URL: http://svn.apache.org/r1516031
Log:
Private immutable field might as well be final
Modified:
commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java
Modified: commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java?rev=1516031&r1=1516030&r2=1516031&view=diff
==============================================================================
--- commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java (original)
+++ commons/proper/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationObserverImpl.java Tue Aug 20 23:38:11 2013
@@ -98,7 +98,7 @@ public class FilesystemAlterationObserve
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;