Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit b88d782

Browse files
committed
Updated as per review comment
1 parent ed8070a commit b88d782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/mathworks/ci/freestyle/RunMatlabCommandBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ public boolean isApplicable(
116116
}
117117

118118
@POST
119-
public FormValidation doCheckMatlabCommand(@QueryParameter String matlabCommand) {
119+
public FormValidation doCheckMatlabCommand(@QueryParameter String value) {
120120
Jenkins.get().checkPermission(Jenkins.ADMINISTER);
121-
if (matlabCommand.isEmpty()) {
121+
if (value.isEmpty()) {
122122
return FormValidation.error(Message.getValue("matlab.empty.command.error"));
123123
}
124124
return FormValidation.ok();

0 commit comments

Comments
 (0)