From c0c863071f2c641941a1518aaea94ea6dc131ebb Mon Sep 17 00:00:00 2001 From: Celeter <48249130+Celeter@users.noreply.github.com> Date: Tue, 29 Sep 2020 17:56:22 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/utils/StringUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/utils/StringUtils.kt b/app/src/main/java/io/legado/app/utils/StringUtils.kt index 523281642..78751ae16 100644 --- a/app/src/main/java/io/legado/app/utils/StringUtils.kt +++ b/app/src/main/java/io/legado/app/utils/StringUtils.kt @@ -295,7 +295,7 @@ object StringUtils { fun byteToHexString(bytes: ByteArray?): String { if (bytes == null) return "" - val sb = StringBuilder(bytes.size * 2) + val sb = StringBuilder() for (b in bytes) { val hex = 0xff and b.toInt() if (hex < 16) {