mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 04:25:23 +00:00
Fix always false condition
This commit is contained in:
1 parent
01d7f443c9
commit
a9ce57a4e3
1 file changed
+1
-1
@@ -1664,7 +1664,7 @@ public class Functions {
|
||||
for( int i=0; i<projectName.length(); i++ ) {
|
||||
char ch = projectName.charAt(i);
|
||||
if(('a'<=ch && ch<='z')
|
||||
|| ('z'<=ch && ch<='Z')
|
||||
|| ('A'<=ch && ch<='Z')
|
||||
|| ('0'<=ch && ch<='9')
|
||||
|| "-_.".indexOf(ch)>=0)
|
||||
buf.append(ch);
|
||||
|
||||
Reference in new issue
Block a user