mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 13:04:05 -08:00
Made a couple utility methods public.
git-svn-id: https://zxing.googlecode.com/svn/trunk@582 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
8583883e5a
commit
1ab0f14f41
|
@ -47,7 +47,7 @@ public abstract class ParsedResult {
|
|||
return getDisplayResult();
|
||||
}
|
||||
|
||||
static void maybeAppend(String value, StringBuffer result) {
|
||||
public static void maybeAppend(String value, StringBuffer result) {
|
||||
if (value != null) {
|
||||
// Don't add a newline before the first value
|
||||
if (result.length() > 0) {
|
||||
|
@ -57,7 +57,7 @@ public abstract class ParsedResult {
|
|||
}
|
||||
}
|
||||
|
||||
static void maybeAppend(String[] value, StringBuffer result) {
|
||||
public static void maybeAppend(String[] value, StringBuffer result) {
|
||||
if (value != null) {
|
||||
for (int i = 0; i < value.length; i++) {
|
||||
if (result.length() > 0) {
|
||||
|
|
Loading…
Reference in a new issue