Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… in https://issues.jenkins-ci.org/browse/JENKINS-6996

(do not use "this.getOther().isEmpty()", to be compatible with jdk 1.5)
  • Loading branch information
evernat committed Mar 27, 2012
1 parent 1402629 commit e998f16
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -289,7 +289,7 @@ private final ArrayList getOthers()

// fix https://issues.jenkins-ci.org/browse/JENKINS-7246 caused by patch in https://issues.jenkins-ci.org/browse/JENKINS-6996
// (do not use "this.getOther().isEmpty()", to be compatible with jdk 1.5)
if (this.getOther() != null && this.getOther().length != 0)
if (this.getOther() != null && this.getOther().length() != 0)
{
String otherParams = this.getOther();
String[] otherParamsArray = otherParams.split(" ");
Expand Down

0 comments on commit e998f16

Please sign in to comment.