Commit 8da4d153 authored by Phillip Webb's avatar Phillip Webb

Merge pull request #3357 from izeye/filewatch-20150630

* pr/3357:
  Fix typo
parents a234292f dccb0b77
...@@ -135,7 +135,7 @@ public class FileSystemWatcher { ...@@ -135,7 +135,7 @@ public class FileSystemWatcher {
* Start monitoring the source folder for changes. * Start monitoring the source folder for changes.
*/ */
public synchronized void start() { public synchronized void start() {
saveInitalSnapshots(); saveInitialSnapshots();
if (this.watchThread == null) { if (this.watchThread == null) {
this.watchThread = new Thread() { this.watchThread = new Thread() {
@Override @Override
...@@ -161,7 +161,7 @@ public class FileSystemWatcher { ...@@ -161,7 +161,7 @@ public class FileSystemWatcher {
} }
} }
private void saveInitalSnapshots() { private void saveInitialSnapshots() {
for (File folder : this.folders.keySet()) { for (File folder : this.folders.keySet()) {
this.folders.put(folder, new FolderSnapshot(folder)); this.folders.put(folder, new FolderSnapshot(folder));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment