Skip to content
Permalink
Browse files
… 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 e998f16c35c0650d1a0e56dbe404aac1a485fd9c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/seleniumhq/SeleniumhqBuilder.java
@@ -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(" ");

0 comments on commit e998f16

Please sign in to comment.