Browse Source

Merge pull request #3357 from izeye/filewatch-20150630

* pr/3357:
  Fix typo
pull/3357/merge
Phillip Webb 11 years ago
parent
commit
8da4d153b7
  1. 4
      spring-boot-devtools/src/main/java/org/springframework/boot/devtools/filewatch/FileSystemWatcher.java

4
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/filewatch/FileSystemWatcher.java

@ -135,7 +135,7 @@ public class FileSystemWatcher { @@ -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 { @@ -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));
}

Loading…
Cancel
Save