summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorTadashi Takaoka <>2009-04-01 09:53:52 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-01 09:53:52 -0700
commit6480ba23e42bff917a5456c7876d77a93f61eb1d (patch)
treee599de7eee0280af802b4b065f5d6fc334b8c5ad /core
parentc6c318dffbb411c2cb04740a8dcc18d21c14f361 (diff)
downloadframeworks_base-6480ba23e42bff917a5456c7876d77a93f61eb1d.zip
frameworks_base-6480ba23e42bff917a5456c7876d77a93f61eb1d.tar.gz
frameworks_base-6480ba23e42bff917a5456c7876d77a93f61eb1d.tar.bz2
AI 144002: am: CL 144001 Fix tiny bug in Rfc822Token.java
Original author: takaoka Merged from: //branches/cupcake/... Automated import of CL 144002
Diffstat (limited to 'core')
-rw-r--r--core/java/android/text/util/Rfc822Token.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/util/Rfc822Token.java b/core/java/android/text/util/Rfc822Token.java
index e6472df..7fe11bc 100644
--- a/core/java/android/text/util/Rfc822Token.java
+++ b/core/java/android/text/util/Rfc822Token.java
@@ -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'))) {