From 83f6b96f8257d94d3012d3d97bb75754d783a006 Mon Sep 17 00:00:00 2001 From: srowen Date: Thu, 5 Mar 2009 02:28:57 +0000 Subject: [PATCH] Backed out last 'fix' to email address parsing -- isn't going to work. Needs a better, real fix. git-svn-id: https://zxing.googlecode.com/svn/trunk@871 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- core/src/com/google/zxing/client/result/ResultParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/google/zxing/client/result/ResultParser.java b/core/src/com/google/zxing/client/result/ResultParser.java index 3b8e07626..d8172b4ba 100644 --- a/core/src/com/google/zxing/client/result/ResultParser.java +++ b/core/src/com/google/zxing/client/result/ResultParser.java @@ -53,6 +53,8 @@ public abstract class ResultParser { return result; } else if ((result = VEventResultParser.parse(theResult)) != null) { return result; + } else if ((result = EmailAddressResultParser.parse(theResult)) != null) { + return result; } else if ((result = TelResultParser.parse(theResult)) != null) { return result; } else if ((result = SMSMMSResultParser.parse(theResult)) != null) { @@ -63,8 +65,6 @@ public abstract class ResultParser { return result; } else if ((result = URIResultParser.parse(theResult)) != null) { return result; - } else if ((result = EmailAddressResultParser.parse(theResult)) != null) { - return result; } else if ((result = ISBNResultParser.parse(theResult)) != null) { // We depend on ISBN parsing coming before UPC, as it is a subset. return result;