Fix linter error

Signed-off-by: Graham <gpe@openrs2.org>
Graham 2 years ago
parent fd2545bc9d
commit d63af29679
  1. 4
      archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt

@ -248,7 +248,9 @@ public class CacheExporter @Inject constructor(
val language = rows.getString(5) val language = rows.getString(5)
val builds = rows.getArray(6).array as Array<*> val builds = rows.getArray(6).array as Array<*>
val timestamp = rows.getTimestamp(7)?.toInstant() val timestamp = rows.getTimestamp(7)?.toInstant()
@Suppress("UNCHECKED_CAST") val sources = rows.getArray(8).array as Array<String>
@Suppress("UNCHECKED_CAST")
val sources = rows.getArray(8).array as Array<String>
val validIndexes = rows.getLong(9) val validIndexes = rows.getLong(9)
val stats = if (!rows.wasNull()) { val stats = if (!rows.wasNull()) {

Loading…
Cancel
Save