Skip to content

Commit

Permalink
JENKINS-15339 / JENKINS-24280 make sure node name is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
imod committed Oct 28, 2016
1 parent 5a36416 commit 81e2d25
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -144,7 +144,7 @@ public LabelParameterValue(String name, String description, String label) {
}

private static String nameOrDefault(String name) {
return Util.fixEmptyAndTrim(name) == null ? DEFAULT_NAME : name;
return Util.fixEmptyAndTrim(Util.fixEmpty(name)) == null ? DEFAULT_NAME : name;
}

/**
Expand Down

0 comments on commit 81e2d25

Please sign in to comment.