From 3dc4f741aac21f34195324e867d6dea30717bd8d Mon Sep 17 00:00:00 2001 From: GKF Date: Fri, 23 Nov 2018 14:15:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/monke/monkeybook/utils/StringUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/monke/monkeybook/utils/StringUtils.java b/app/src/main/java/com/monke/monkeybook/utils/StringUtils.java index 998777e137..c6d2fa1657 100644 --- a/app/src/main/java/com/monke/monkeybook/utils/StringUtils.java +++ b/app/src/main/java/com/monke/monkeybook/utils/StringUtils.java @@ -218,7 +218,7 @@ public static String base64Decode(String str) { public static String escape(String src) { int i; char j; - StringBuffer tmp = new StringBuffer(); + StringBuilder tmp = new StringBuilder(); tmp.ensureCapacity(src.length() * 6); for (i = 0; i < src.length(); i++) { j = src.charAt(i);