Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foster2013-09-13 20:04:42 -0400
committerBob Foster2013-09-13 20:04:42 -0400
commitc78fb57e0ab6c3d6986139a6cdac7ad337b08615 (patch)
tree7f8c516e39be0585f5b57b75ca6b2db99090146d
parent0f082e2233f6499edd95371007517ec1ac8cf992 (diff)
downloadorg.eclipse.hudson.core-c78fb57e0ab6c3d6986139a6cdac7ad337b08615.tar.gz
org.eclipse.hudson.core-c78fb57e0ab6c3d6986139a6cdac7ad337b08615.tar.xz
org.eclipse.hudson.core-c78fb57e0ab6c3d6986139a6cdac7ad337b08615.zip
Fix Bug 417236 - CLI: create-team: Valid team names are not accepted
-rw-r--r--hudson-core/src/main/java/hudson/cli/CreateTeamCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/hudson-core/src/main/java/hudson/cli/CreateTeamCommand.java b/hudson-core/src/main/java/hudson/cli/CreateTeamCommand.java
index 610f984b..643298ff 100644
--- a/hudson-core/src/main/java/hudson/cli/CreateTeamCommand.java
+++ b/hudson-core/src/main/java/hudson/cli/CreateTeamCommand.java
@@ -85,6 +85,6 @@ public class CreateTeamCommand extends CLICommand {
}
private boolean isAlphaNumeric(char c) {
- return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c >= '9');
+ return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9');
}
}

Back to the top