mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
git-svn-id: https://zxing.googlecode.com/svn/trunk@859 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
8e73582187
commit
1e96791817
|
@ -60,6 +60,9 @@ final class EmailDoCoMoResultParser extends AbstractDoCoMoResultParser {
|
||||||
for (int i = 0; i < email.length(); i++) {
|
for (int i = 0; i < email.length(); i++) {
|
||||||
char c = email.charAt(i);
|
char c = email.charAt(i);
|
||||||
if (c == '@') {
|
if (c == '@') {
|
||||||
|
if (atFound) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
atFound = true;
|
atFound = true;
|
||||||
} else if (c == '.') {
|
} else if (c == '.') {
|
||||||
periodFound = true;
|
periodFound = true;
|
||||||
|
|
Loading…
Reference in a new issue