Made a couple utility methods public.
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 19 Sep 2008 01:10:25 +0000 (01:10 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 19 Sep 2008 01:10:25 +0000 (01:10 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@582 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/client/result/ParsedResult.java

index d7911e9..eac04ca 100644 (file)
@@ -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) {