See gh-18534
This commit is contained in:
Kant Leung
2019-10-08 19:02:40 +08:00
committed by Andy Wilkinson
parent 897ef4d20c
commit 2f73e196af
6 changed files with 6 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ public class StopMojo extends AbstractMojo {
return this.fork;
}
String property = this.project.getProperties().getProperty("_spring.boot.fork.enabled");
return Boolean.valueOf(property);
return Boolean.parseBoolean(property);
}
private void stopForkedProcess() throws IOException, MojoFailureException, MojoExecutionException {