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 09d0604 commit 1402629
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -287,7 +287,9 @@ private final ArrayList getOthers()
{
ArrayList cmdParams = new ArrayList();

if (this.getOther() != null && ! this.getOther().isEmpty())
// 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)
{
String otherParams = this.getOther();
String[] otherParamsArray = otherParams.split(" ");
Expand Down

0 comments on commit 1402629

Please sign in to comment.