Skip to content

Commit

Permalink
[JENKINS-13624] JDK 5 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Glick committed May 2, 2012
1 parent 27ce3f7 commit ba17162
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ public String getDisplayName() {
}

public FormValidation doCheckUrl(@QueryParameter String url) {
if (url.isEmpty()) {
if (url.length() == 0) {
return FormValidation.error("Must enter URL");
} else if (url.matches("https?://bitbucket[.]org/[^/]+/[^/]+/")) {
return FormValidation.ok();
Expand Down

0 comments on commit ba17162

Please sign in to comment.