git-svn-id: http://zxing.googlecode.com/svn/trunk@859 59b500cc-1b3d-0410-9834-0bbf25f...
[zxing.git] / core / src / com / google / zxing / client / result / EmailDoCoMoResultParser.java
index 4f4c5c2..94ebb02 100644 (file)
@@ -60,6 +60,9 @@ final class EmailDoCoMoResultParser extends AbstractDoCoMoResultParser {
     for (int i = 0; i < email.length(); i++) {
       char c = email.charAt(i);
       if (c == '@') {
+        if (atFound) {
+          return false;
+        }
         atFound = true;
       } else if (c == '.') {
         periodFound = true;