Closes gh-3411
This commit is contained in:
izeye
2015-07-03 16:29:27 +09:00
committed by Stephane Nicoll
parent 6aefd20c55
commit b4f636b33f
6 changed files with 8 additions and 8 deletions

View File

@@ -48,8 +48,8 @@ public class ClassPathFileSystemWatcher implements InitializingBean, DisposableB
/**
* Create a new {@link ClassPathFileSystemWatcher} instance.
* @param fileSystemWatcherFactory the underlying {@link FileSystemWatcher} used to
* monitor the local file system
* @param fileSystemWatcherFactory a factory to create
* the underlying {@link FileSystemWatcher} used to monitor the local file system
* @param restartStrategy the classpath restart strategy
* @param urls the URLs to watch
*/

View File

@@ -96,7 +96,7 @@ public class FileSystemWatcher {
}
/**
* Add a source folders to monitor. Cannot be called after the watcher has been
* Add source folders to monitor. Cannot be called after the watcher has been
* {@link #start() started}.
* @param folders the folders to monitor
*/

View File

@@ -166,7 +166,7 @@ class FolderSnapshot {
@Override
public String toString() {
return this.folder + " snaphost at " + this.time;
return this.folder + " snapshot at " + this.time;
}
}

View File

@@ -233,7 +233,7 @@ public class Restarter {
/**
* Restart the running application.
* @param failureHandler a failure handler to deal with application that don't start
* @param failureHandler a failure handler to deal with application that doesn't start
*/
public void restart(final FailureHandler failureHandler) {
if (!this.enabled) {
@@ -255,7 +255,7 @@ public class Restarter {
/**
* Start the application.
* @param failureHandler a failure handler for application that wont start
* @param failureHandler a failure handler for application that won't start
* @throws Exception
*/
protected void start(FailureHandler failureHandler) throws Exception {