Skip to content

Commit d0b1a4a

Browse files
committed
Make sonatype-lift happy
1 parent 89cc4af commit d0b1a4a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

modules/jooby-run/src/main/java/io/jooby/run/JoobyRun.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ public boolean addResource(Path path) {
333333
*
334334
* @throws Throwable If something goes wrong.
335335
*/
336+
@SuppressWarnings("FutureReturnValueIgnored")
336337
public void start() throws Throwable {
337338
this.watcher = newWatcher();
338339
try {

modules/jooby-run/src/main/java/io/jooby/run/JoobyRunOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ public void setPort(Integer port) {
9191
/**
9292
* How long to wait after last file change to restart. Default is: <code>500</code> milliseconds.
9393
*
94-
* @return Wait time in milliseconds
94+
* @return Wait time in milliseconds.
9595
*/
9696
public Long getWaitTimeBeforeRestart() {
9797
return waitTimeBeforeRestart;
9898
}
9999

100100
/**
101-
* Set wait time before restart.
101+
* Set wait time before restart on file change.
102102
*
103-
* @param waitTimeBeforeRestart
103+
* @param waitTimeBeforeRestart the time in milliseconds.
104104
*/
105105
public void setWaitTimeBeforeRestart(Long waitTimeBeforeRestart) {
106106
if (waitTimeBeforeRestart != null) {

0 commit comments

Comments
 (0)