Skip to content

Commit

Permalink
lint: suppress valid unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
david-allison committed Jan 4, 2025
1 parent 17258df commit ae43c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ package com.ichi2.libanki.utils
*/
@Retention(AnnotationRetention.SOURCE)
annotation class LibAnkiAlias(
val alias: String,
@Suppress("unused") val alias: String,
)
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class ActivityStartupUnderBackupTest : RobolectricTest() {
// Only used for display, but needs to be defined
@ParameterizedRobolectricTestRunner.Parameter(1)
@JvmField // required for Parameter
@Suppress("unused")
var activityName: String? = null

@Before
Expand Down

0 comments on commit ae43c0b

Please sign in to comment.