提交 8efcbd8f 编写于 作者: O Oleg Nenashev 提交者: Oliver Gondža

[JENKINS-51603] - Use CheckForNull instead of Nullable

(cherry picked from commit d79c6afd)
上级 43e80498
......@@ -31,6 +31,7 @@ import hudson.model.DescriptorVisibilityFilter;
import hudson.model.TaskListener;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import jenkins.model.Jenkins;
import jenkins.slaves.RemotingWorkDirSettings;
import org.jenkinsci.Symbol;
......@@ -70,7 +71,7 @@ public class JNLPLauncher extends ComputerLauncher {
private RemotingWorkDirSettings workDirSettings;
@DataBoundConstructor
public JNLPLauncher(@CheckForNull String tunnel, @CheckForNull String vmargs, @Nonnull RemotingWorkDirSettings workDirSettings) {
public JNLPLauncher(@CheckForNull String tunnel, @CheckForNull String vmargs, @CheckForNull RemotingWorkDirSettings workDirSettings) {
this.tunnel = Util.fixEmptyAndTrim(tunnel);
this.vmargs = Util.fixEmptyAndTrim(vmargs);
this.workDirSettings = workDirSettings;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册