From fc1af29bdfc95e76e4c61f42bca789de112d5a6c Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 25 Oct 2020 17:06:56 +0000 Subject: [PATCH] Make BATCH_SIZE const Signed-off-by: Graham --- .../src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt | 2 +- .../src/main/kotlin/org/openrs2/archive/cache/CacheImporter.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt index 9bc541209d..cb3a77aea6 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt @@ -60,6 +60,6 @@ public class CacheExporter @Inject constructor( } private companion object { - private val BATCH_SIZE = 1024 + private const val BATCH_SIZE = 1024 } } diff --git a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheImporter.kt b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheImporter.kt index 3aa6c64fdd..8ce22938ee 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/CacheImporter.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/CacheImporter.kt @@ -370,6 +370,6 @@ public class CacheImporter @Inject constructor( } private companion object { - private val BATCH_SIZE = 1024 + private const val BATCH_SIZE = 1024 } }