Skip to content

Commit

Permalink
Merge pull request #581 from mpapo/JENKINS-15293
Browse files Browse the repository at this point in the history
Fixed JENKINS-15293
Thanks
  • Loading branch information
olamy committed Oct 1, 2012
2 parents 14098be + e6685a7 commit 7daa5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/tasks/Maven.java
Expand Up @@ -353,7 +353,7 @@ public void setInstallations(MavenInstallation... installations) {
if(installations != null) {
Collections.addAll(tmpList, installations);
for(MavenInstallation installation : installations) {
if(Util.fixEmptyAndTrim(installation.getName()) == null || Util.fixEmptyAndTrim(installation.getHome()) == null) {
if(Util.fixEmptyAndTrim(installation.getName()) == null) {
tmpList.remove(installation);
}
}
Expand Down

0 comments on commit 7daa5ef

Please sign in to comment.