diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-15 19:31:46 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-15 19:31:46 +0100 |
commit | a2f73de90fb9c9d0ea7a5e7e9e6b9e445a8094ee (patch) | |
tree | 4b612c6451c695822885c29e9f497e2826dc3bbd /src/main/kotlin/moe/nea/ledger/utils | |
parent | 0a4cf1fbcc897462f31aaadc5c868d12d13e1abb (diff) | |
download | LocalTransactionLedger-a2f73de90fb9c9d0ea7a5e7e9e6b9e445a8094ee.tar.gz LocalTransactionLedger-a2f73de90fb9c9d0ea7a5e7e9e6b9e445a8094ee.tar.bz2 LocalTransactionLedger-a2f73de90fb9c9d0ea7a5e7e9e6b9e445a8094ee.zip |
refactor: Move DI to its own package
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/utils')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/utils/di/DI.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/DI.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/utils/di/DIProvider.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/DIProvider.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/utils/di/Inject.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/Inject.kt) | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt b/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt index 9b6a153..4ba313e 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt +++ b/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt @@ -1,5 +1,6 @@ package moe.nea.ledger.utils +import moe.nea.ledger.utils.di.Inject import moe.nea.ledger.utils.telemetry.ContextValue import moe.nea.ledger.utils.telemetry.EventRecorder import moe.nea.ledger.utils.telemetry.Span diff --git a/src/main/kotlin/moe/nea/ledger/utils/DI.kt b/src/main/kotlin/moe/nea/ledger/utils/di/DI.kt index e998c65..6940f72 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/DI.kt +++ b/src/main/kotlin/moe/nea/ledger/utils/di/DI.kt @@ -1,4 +1,4 @@ -package moe.nea.ledger.utils +package moe.nea.ledger.utils.di import java.lang.reflect.AnnotatedElement import java.util.Collections diff --git a/src/main/kotlin/moe/nea/ledger/utils/DIProvider.kt b/src/main/kotlin/moe/nea/ledger/utils/di/DIProvider.kt index 98d1bbc..b5ce550 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/DIProvider.kt +++ b/src/main/kotlin/moe/nea/ledger/utils/di/DIProvider.kt @@ -1,4 +1,4 @@ -package moe.nea.ledger.utils +package moe.nea.ledger.utils.di import java.lang.reflect.AnnotatedElement import java.lang.reflect.Constructor diff --git a/src/main/kotlin/moe/nea/ledger/utils/Inject.kt b/src/main/kotlin/moe/nea/ledger/utils/di/Inject.kt index 654f77e..a8fdd87 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/Inject.kt +++ b/src/main/kotlin/moe/nea/ledger/utils/di/Inject.kt @@ -1,4 +1,4 @@ -package moe.nea.ledger.utils +package moe.nea.ledger.utils.di @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FIELD) |