diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/reviewer/MappableBinding.kt b/AnkiDroid/src/main/java/com/ichi2/anki/reviewer/MappableBinding.kt index 51fec49cbfa0..c9cdda5f0a17 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/reviewer/MappableBinding.kt +++ b/AnkiDroid/src/main/java/com/ichi2/anki/reviewer/MappableBinding.kt @@ -165,11 +165,6 @@ class MappableBinding( } } - /** the serialisation version */ - enum class Version { - ONE, - } - companion object { const val PREF_SEPARATOR = '|' @@ -185,12 +180,8 @@ class MappableBinding( .mapNotNull { it.toPreferenceString() } .joinToString(prefix = "1/", separator = PREF_SEPARATOR.toString()) - @Suppress("UNUSED_PARAMETER") @CheckResult - fun fromString( - s: String, - v: Version = Version.ONE, - ): MappableBinding? { + fun fromString(s: String): MappableBinding? { if (s.isEmpty()) { return null }