Skip to content
Permalink
Browse files

[FIXED JENKINS-13993]fixed java.lang.NoSuchMethodError: java/lang/Str…

…ing.isEmpty()
  • Loading branch information...
ssogabe committed Jun 2, 2012
1 parent 85d046f commit cef9941f792f60ee1b7c1be50bb4d71c0e501c48
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/git/UserRemoteConfig.java
@@ -45,7 +45,7 @@ public String getUrl() {
@Extension
public static class DescriptorImpl extends Descriptor<UserRemoteConfig> {
public FormValidation doCheckUrl(@QueryParameter String value) {
if (value == null || value.isEmpty()) {
if (value == null || value.length() == 0) {
return FormValidation.error("Please enter Git repository.");
} else {
return FormValidation.ok();

0 comments on commit cef9941

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