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:
dswitkin 2008-09-19 01:10:25 +00:00
parent 8583883e5a
commit 1ab0f14f41

View file

@ -47,7 +47,7 @@ public abstract class ParsedResult {
return getDisplayResult(); return getDisplayResult();
} }
static void maybeAppend(String value, StringBuffer result) { public static void maybeAppend(String value, StringBuffer result) {
if (value != null) { if (value != null) {
// Don't add a newline before the first value // Don't add a newline before the first value
if (result.length() > 0) { 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) { if (value != null) {
for (int i = 0; i < value.length; i++) { for (int i = 0; i < value.length; i++) {
if (result.length() > 0) { if (result.length() > 0) {