AI 144003: am: CL 144002 am: CL 144001 Fix tiny bug in Rfc822Token.java

Original author: takaoka
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144003
This commit is contained in:
Tadashi Takaoka
2009-04-02 08:52:56 -07:00
committed by The Android Open Source Project
parent a72cc098e2
commit f26c6617a9

View File

@@ -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'))) {