From be30fd3df983c80bf427a255f33de48bf31b65ab Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 7 Jun 2019 23:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt | 2 +- app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt b/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt index d8f62d9b8..07f8a4e10 100644 --- a/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt @@ -17,5 +17,5 @@ interface BookSourceDao { fun insert(bookSource: BookSource): Long @Update - fun update(vararg bookSource: BookSource) + fun update(bookSource: BookSource) } \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt index d4a2073c0..530620dc6 100644 --- a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt @@ -46,10 +46,10 @@ interface ReplaceRuleDao { fun insert(replaceRule: ReplaceRule): Long @Update - fun update(vararg replaceRules: ReplaceRule) + fun update(replaceRules: ReplaceRule) @Delete - fun delete(vararg replaceRules: ReplaceRule) + fun delete(replaceRules: ReplaceRule) } \ No newline at end of file