]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dataclasses/HistoryDataClass.kt
Migrate the remaining classes to Kotlin. https://redmine.stoutner.com/issues/989
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dataclasses / HistoryDataClass.kt
index c678202162ecc78feed7592b8ee6b326ae4cfa3b..690573c4f074dc9a12227b1d9daa97efa67166e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016-2017,2021-2022 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2016-2017,2021-2023 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
  *
@@ -21,5 +21,5 @@ package com.stoutner.privacybrowser.dataclasses
 
 import android.graphics.Bitmap
 
-// Define the history data class.  The `@JvmField` notation can be remove once all the code has migrated to Kotlin.
-data class HistoryDataClass(@JvmField val favoriteIcon: Bitmap, @JvmField val url: String)
+// Define the history data class.
+data class HistoryDataClass(val favoriteIcon: Bitmap, val url: String)