ContactEncoder.java (zxing-zxing-3.4.0) | : | ContactEncoder.java (zxing-zxing-3.4.1) | ||
---|---|---|---|---|
skipping to change at line 98 | skipping to change at line 98 | |||
CharSequence display = displayFormatter == null ? trimmed : displayForma tter.format(trimmed, i); | CharSequence display = displayFormatter == null ? trimmed : displayForma tter.format(trimmed, i); | |||
newDisplayContents.append(display).append('\n'); | newDisplayContents.append(display).append('\n'); | |||
if (++count == max) { | if (++count == max) { | |||
break; | break; | |||
} | } | |||
uniques.add(trimmed); | uniques.add(trimmed); | |||
} | } | |||
} | } | |||
} | } | |||
@SuppressWarnings("deprecation") | ||||
static String formatPhone(String phoneData) { | static String formatPhone(String phoneData) { | |||
// Just collect the call to a deprecated method in one place | // Just collect the call to a deprecated method in one place | |||
return PhoneNumberUtils.formatNumber(phoneData); | return PhoneNumberUtils.formatNumber(phoneData); | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |