mirror of
https://github.com/zxing/zxing.git
synced 2024-11-12 14:04:06 -08:00
Issue 295 and Issue 294, ADR was getting generated twice!
git-svn-id: https://zxing.googlecode.com/svn/trunk@1149 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
6271b86315
commit
460abab4ed
|
@ -76,7 +76,6 @@ public class ContactInfoGenerator implements GeneratorSource {
|
||||||
maybeAppend(output, "TEL:", tel);
|
maybeAppend(output, "TEL:", tel);
|
||||||
maybeAppend(output, "URL:", url);
|
maybeAppend(output, "URL:", url);
|
||||||
maybeAppend(output, "EMAIL:", email);
|
maybeAppend(output, "EMAIL:", email);
|
||||||
maybeAppend(output, "ADR:", address);
|
|
||||||
if (address.length() > 0 || address2.length() > 0) {
|
if (address.length() > 0 || address2.length() > 0) {
|
||||||
output.append("ADR:");
|
output.append("ADR:");
|
||||||
if (address.length() > 0) {
|
if (address.length() > 0) {
|
||||||
|
|
Loading…
Reference in a new issue