Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make sonatype-lift happy
  • Loading branch information
agentgt committed May 9, 2022
commit d0b1a4acc3f8ed7e771a65203e5e62018b7e41db
1 change: 1 addition & 0 deletions modules/jooby-run/src/main/java/io/jooby/run/JoobyRun.java
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ public boolean addResource(Path path) {
*
* @throws Throwable If something goes wrong.
*/
@SuppressWarnings("FutureReturnValueIgnored")
public void start() throws Throwable {
this.watcher = newWatcher();
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ public void setPort(Integer port) {
/**
* How long to wait after last file change to restart. Default is: <code>500</code> milliseconds.
*
* @return Wait time in milliseconds
* @return Wait time in milliseconds.
*/
public Long getWaitTimeBeforeRestart() {
return waitTimeBeforeRestart;
}

/**
* Set wait time before restart.
* Set wait time before restart on file change.
*
* @param waitTimeBeforeRestart
* @param waitTimeBeforeRestart the time in milliseconds.
*/
public void setWaitTimeBeforeRestart(Long waitTimeBeforeRestart) {
if (waitTimeBeforeRestart != null) {
Expand Down