Fix Issue 143, failure on invalid geo: URIs
[zxing.git] / core / src / com / google / zxing / client / result / VCardResultParser.java
index 5b127f0..51182ae 100644 (file)
@@ -24,7 +24,7 @@ import java.util.Vector;
  * Parses contact information formatted according to the VCard (2.1) format. This is not a complete
  * implementation but should parse information as commonly encoded in 2D barcodes.
  *
- * @author srowen@google.com (Sean Owen)
+ * @author Sean Owen
  */
 final class VCardResultParser extends ResultParser {
 
@@ -61,7 +61,7 @@ final class VCardResultParser extends ResultParser {
   private static String[] matchVCardPrefixedField(String prefix, String rawText, boolean trim) {
     Vector matches = null;
     int i = 0;
-    final int max = rawText.length();
+    int max = rawText.length();
     while (i < max) {
       i = rawText.indexOf(prefix, i);
       if (i < 0) {