pull/497/head
gedoor 4 years ago
parent a2f850f94b
commit 9d4e31a488
  1. 1
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -39,6 +39,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions {
private var objectChangedJS = false private var objectChangedJS = false
private var objectChangedJP = false private var objectChangedJP = false
@JvmOverloads
fun setContent(content: Any?, baseUrl: String? = null): AnalyzeRule { fun setContent(content: Any?, baseUrl: String? = null): AnalyzeRule {
if (content == null) throw AssertionError("Content cannot be null") if (content == null) throw AssertionError("Content cannot be null")
this.content = content this.content = content

Loading…
Cancel
Save