From 75792ac8c4d3dd4478d2f0a3b9cce78f3eca452f Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 23 Oct 2019 15:34:17 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/help/JsExtensions.kt | 4 ++-- .../main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index 8d54ac21c..d321f57fb 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -33,11 +33,11 @@ object JsExtensions { return EncoderUtils.base64Encode(str) } - fun strToMd5By32(str: String?): String? { + fun strToMd5By32(str: String): String? { return MD5Utils.strToMd5By32(str) } - fun strToMd5By16(str: String?): String? { + fun strToMd5By16(str: String): String? { return MD5Utils.strToMd5By16(str) } diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt index 831714667..b4bb0276e 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt @@ -580,11 +580,11 @@ class AnalyzeRule(private var book: BaseBook? = null) { return EncoderUtils.base64Encode(str) } - fun strToMd5By32(str: String?): String? { + fun strToMd5By32(str: String): String? { return MD5Utils.strToMd5By32(str) } - fun strToMd5By16(str: String?): String? { + fun strToMd5By16(str: String): String? { return MD5Utils.strToMd5By16(str) }