Fixes gh-3357
This commit is contained in:
izeye
2015-06-30 13:57:30 +09:00
committed by Phillip Webb
parent a234292f76
commit dccb0b7736

View File

@@ -135,7 +135,7 @@ public class FileSystemWatcher {
* Start monitoring the source folder for changes.
*/
public synchronized void start() {
saveInitalSnapshots();
saveInitialSnapshots();
if (this.watchThread == null) {
this.watchThread = new Thread() {
@Override
@@ -161,7 +161,7 @@ public class FileSystemWatcher {
}
}
private void saveInitalSnapshots() {
private void saveInitialSnapshots() {
for (File folder : this.folders.keySet()) {
this.folders.put(folder, new FolderSnapshot(folder));
}