AI 144001: Fix tiny bug in Rfc822Token.java
BUG=1751496 Automated import of CL 144001
This commit is contained in:
committed by
The Android Open Source Project
parent
3192d4a23a
commit
c21cf4a9c5
@@ -114,7 +114,7 @@ public class Rfc822Token {
|
||||
for (int i = 0; i < len; i++) {
|
||||
char c = name.charAt(i);
|
||||
|
||||
if (! ((c >= 'A' && i <= 'Z') ||
|
||||
if (! ((c >= 'A' && c <= 'Z') ||
|
||||
(c >= 'a' && c <= 'z') ||
|
||||
(c == ' ') ||
|
||||
(c >= '0' && c <= '9'))) {
|
||||
|
||||
Reference in New Issue
Block a user