Skip to content
Permalink
Browse files

[JENKINS-13624] JDK 5 compatibility.

  • Loading branch information...
Jesse Glick
Jesse Glick committed May 2, 2012
1 parent 27ce3f7 commit ba17162042d9c79fe8a77fc86e55315e10577b70
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/mercurial/browser/BitBucket.java
@@ -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();

0 comments on commit ba17162

Please sign in to comment.
You can’t perform that action at this time.