Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Nov 23, 2018
1 parent fe4c7e3 commit 3dc4f74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3dc4f74

Please sign in to comment.