equal
deleted
inserted
replaced
110 } |
110 } |
111 return e; |
111 return e; |
112 } |
112 } |
113 |
113 |
114 // could also be a Map<File,SoftReference<Entry>> ? |
114 // could also be a Map<File,SoftReference<Entry>> ? |
115 private Map<File,Entry> cache = new ConcurrentHashMap<File,Entry>(); |
115 private Map<File,Entry> cache = new ConcurrentHashMap<>(); |
116 |
116 |
117 private static class Entry { |
117 private static class Entry { |
118 File canonicalFile; |
118 File canonicalFile; |
119 boolean exists; |
119 boolean exists; |
120 boolean isFile; |
120 boolean isFile; |