diff --git a/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java b/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java index 298b3c9a..74299554 100644 --- a/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java +++ b/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java @@ -115,7 +115,7 @@ public int launch() throws Throwable { /** * Launches the payload. * @return Exit code - * @throws Throwable Any error + * @throws Exception Any error */ protected abstract int doLaunch() throws Exception; diff --git a/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/ExecutionEnvironment.java b/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/ExecutionEnvironment.java index bfa0e0f6..5a8b099f 100644 --- a/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/ExecutionEnvironment.java +++ b/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/ExecutionEnvironment.java @@ -68,7 +68,7 @@ public String displayName() { * the wrong test environment depending on when it's created. * *

- * Since the rest of Hudson still relies on static {@link jenkins.model.Jenkins#theInstance}, changing this + * Since the rest of Jenkins still relies on static {@code jenkins.model.Jenkins#theInstance}, changing this * to a static field for now shouldn't cause any problem. */ private static ExecutionEnvironment CURRENT; diff --git a/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/JenkinsRecipe.java b/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/JenkinsRecipe.java index 97d7c133..967571e0 100644 --- a/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/JenkinsRecipe.java +++ b/setup/src/main/java/io/jenkins/jenkinsfile/runner/util/JenkinsRecipe.java @@ -43,7 +43,7 @@ abstract class Runner { public void setup(JenkinsEmbedder embedder, T recipe) throws Exception {} /** - * Called right before {@link jenkins.model.Jenkins#Jenkins(java.io.File, javax.servlet.ServletContext)} is invoked + * Called right before {@code jenkins.model.Jenkins#Jennkins(java.io.File, javax.servlet.ServletContext)} is invoked * to decorate the hudson home directory. */ public void decorateHome(JenkinsEmbedder embedder, File home) throws Exception {}