Remove some redundant 'throws'; allocate more reasonably sized StringBuffers for...
[zxing.git] / core / src / com / google / zxing / client / result / URIParsedResult.java
index 7a9a9d0..6931c45 100644 (file)
@@ -68,7 +68,7 @@ public final class URIParsedResult extends ParsedResult {
   }
 
   public String getDisplayResult() {
-    StringBuffer result = new StringBuffer();
+    StringBuffer result = new StringBuffer(30);
     maybeAppend(title, result);
     maybeAppend(uri, result);
     return result.toString();