From 793026e5a17dd0f0a71ce8fc97cb816ef3d9d9a2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 28 Jul 2019 13:18:42 +0800 Subject: [PATCH] up --- .../java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index c9261b447..f6b0b83fd 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -48,14 +48,12 @@ class AnalyzeUrl( private set var queryStr: String? = null private set - val fieldMap = LinkedHashMap() - val headerMap = HashMap() + private val fieldMap = LinkedHashMap() + private val headerMap = HashMap() private var charset: String? = null private var bodyTxt: String? = null - lateinit var body: RequestBody - private set - var method = Method.GET - private set + private lateinit var body: RequestBody + private var method = Method.GET val postData: ByteArray get() {