Navigation Menu

Skip to content

Commit

Permalink
[FIXED JENKINS-13993]fixed java.lang.NoSuchMethodError: java/lang/Str…
Browse files Browse the repository at this point in the history
…ing.isEmpty()
  • Loading branch information
ssogabe committed Jun 2, 2012
1 parent 85d046f commit cef9941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/UserRemoteConfig.java
Expand Up @@ -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();
Expand Down

0 comments on commit cef9941

Please sign in to comment.