mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-05 08:49:15 +00:00
Merge pull request #3357 from izeye/filewatch-20150630
* pr/3357: Fix typo
This commit is contained in:
+2
-2
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user