AbstractDoCoMoResultParser.java (zxing-zxing-3.4.0) | : | AbstractDoCoMoResultParser.java (zxing-zxing-3.4.1) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* <a href="http://www.nttdocomo.co.jp/english/service/imode/make/content/barcod e/about/s2.html"> | * <a href="http://www.nttdocomo.co.jp/english/service/imode/make/content/barcod e/about/s2.html"> | |||
* DoCoMo's documentation</a> about the result types represented by subclasses o f this class.</p> | * DoCoMo's documentation</a> about the result types represented by subclasses o f this class.</p> | |||
* | * | |||
* <p>Thanks to Jeff Griffin for proposing rewrite of these classes that relies less | * <p>Thanks to Jeff Griffin for proposing rewrite of these classes that relies less | |||
* on exception-based mechanisms during parsing.</p> | * on exception-based mechanisms during parsing.</p> | |||
* | * | |||
* @author Sean Owen | * @author Sean Owen | |||
*/ | */ | |||
abstract class AbstractDoCoMoResultParser extends ResultParser { | abstract class AbstractDoCoMoResultParser extends ResultParser { | |||
static String[] matchDoCoMoPrefixedField(String prefix, String rawText, boolea | static String[] matchDoCoMoPrefixedField(String prefix, String rawText) { | |||
n trim) { | return matchPrefixedField(prefix, rawText, ';', true); | |||
return matchPrefixedField(prefix, rawText, ';', trim); | ||||
} | } | |||
static String matchSingleDoCoMoPrefixedField(String prefix, String rawText, bo olean trim) { | static String matchSingleDoCoMoPrefixedField(String prefix, String rawText, bo olean trim) { | |||
return matchSinglePrefixedField(prefix, rawText, ';', trim); | return matchSinglePrefixedField(prefix, rawText, ';', trim); | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added |