aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org
diff options
context:
space:
mode:
authorpacien2023-07-29 23:36:12 +0200
committerpacien2023-07-30 03:53:20 +0200
commitf541e7a7d71aac02098157fa53e927884e940f26 (patch)
tree558c7f669a9a2fae9e0c52d43e15c777adb33441 /app/src/main/java/org
parent564e675c0a44dfb3b914d1d4307fdde844ad082f (diff)
downloadtincapp-f541e7a7d71aac02098157fa53e927884e940f26.tar.gz
storage: rename ConfigurationDirectoryMigrator -> StorageMigrator
Diffstat (limited to 'app/src/main/java/org')
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/App.kt2
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt (renamed from app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt)2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/context/App.kt b/app/src/main/java/org/pacien/tincapp/context/App.kt
index d825d78..35e6d09 100644
--- a/app/src/main/java/org/pacien/tincapp/context/App.kt
+++ b/app/src/main/java/org/pacien/tincapp/context/App.kt
@@ -47,7 +47,7 @@ class App : Application() {
47 logger.info("Starting tinc app {} ({} build), running on {} ({})", 47 logger.info("Starting tinc app {} ({} build), running on {} ({})",
48 BuildConfig.VERSION_NAME, BuildConfig.BUILD_TYPE, Build.VERSION.CODENAME, Build.VERSION.RELEASE) 48 BuildConfig.VERSION_NAME, BuildConfig.BUILD_TYPE, Build.VERSION.CODENAME, Build.VERSION.RELEASE)
49 49
50 ConfigurationDirectoryMigrator().migrate() 50 StorageMigrator().migrate()
51 } 51 }
52 52
53 private fun setupCrashHandler(logger: Logger) { 53 private fun setupCrashHandler(logger: Logger) {
diff --git a/app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt b/app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt
index ea0b7d8..de8009c 100644
--- a/app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt
+++ b/app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt
@@ -27,7 +27,7 @@ import java.io.IOException
27 * 27 *
28 * @author pacien 28 * @author pacien
29 */ 29 */
30class ConfigurationDirectoryMigrator { 30class StorageMigrator {
31 private val log by lazy { LoggerFactory.getLogger(this.javaClass)!! } 31 private val log by lazy { LoggerFactory.getLogger(this.javaClass)!! }
32 private val context by lazy { App.getContext() } 32 private val context by lazy { App.getContext() }
33 private val paths = AppPaths 33 private val paths = AppPaths