From e7efc12f043a8e7a312583b18237d4346cc2ada9 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Tue, 3 Dec 2024 06:27:41 +0100 Subject: [PATCH] Cosmetic --- .../src/main/java/info/hannes/changelog/ChangeLog.kt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ChangeLogLib/src/main/java/info/hannes/changelog/ChangeLog.kt b/ChangeLogLib/src/main/java/info/hannes/changelog/ChangeLog.kt index 8867060..512bdce 100644 --- a/ChangeLogLib/src/main/java/info/hannes/changelog/ChangeLog.kt +++ b/ChangeLogLib/src/main/java/info/hannes/changelog/ChangeLog.kt @@ -30,19 +30,12 @@ open class ChangeLog @JvmOverloads constructor( preferences: SharedPreferences = PreferenceManager.getDefaultSharedPreferences(context), protected val css: String = DEFAULT_CSS ) { - - /** - * Last version code read from `SharedPreferences` or [.NO_VERSION]. - */ - - // Get last version code /** * Get version code of last installation. * * @return The version code of the last installation of this app (as described in the former * manifest). This will be the same as returned by [.getCurrentVersionCode] the - * second time this version of the app is launched (more precisely: the second time - * `ChangeLog` is instantiated). + * second time this version of the app is launched (more precisely: the second time ChangeLog` is instantiated). * @see [android:versionCode](http://developer.android.com/guide/topics/manifest/manifest-element.html.vcode) */ val lastVersionCode: Int = preferences.getInt(VERSION_KEY, NO_VERSION)