From 78250afe819007445dfc36174b9b22d94b9f512c Mon Sep 17 00:00:00 2001 From: cdhiraj40 Date: Tue, 5 Jul 2022 20:14:03 +0530 Subject: [PATCH] removed depracted annotation and useless comment --- .../kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt b/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt index 2650ac187..2107d48d0 100644 --- a/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt +++ b/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt @@ -26,11 +26,8 @@ import javax.inject.Inject /** * Dao class for recent searches. */ -@Deprecated("") class RecentSearchDao @Inject constructor(private val mDb: KiwixDatabase) { - /** - * Returns a distinct enumeration of the `NUM_RECENT_RESULTS` most recent searches. - */ + fun getRecentSearches(): MutableList { val result: MutableList = ArrayList() mDb.query(