From c59693dff859845e43dde361a61ef98a84f7490f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 8 Jan 2025 14:38:48 +0100 Subject: fix: Classes and resources being entangled --- src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.java | 8 -------- src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.java create mode 100644 src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt (limited to 'src/main/kotlin/moe/nea/ledger/utils') diff --git a/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.java b/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.java deleted file mode 100644 index f432130..0000000 --- a/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.java +++ /dev/null @@ -1,8 +0,0 @@ -package moe.nea.ledger.utils; - -import kotlin.annotation.AnnotationRetention; -import kotlin.annotation.Retention; - -@Retention(AnnotationRetention.BINARY) -public @interface NoSideEffects { -} diff --git a/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt b/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt new file mode 100644 index 0000000..9b0e7a3 --- /dev/null +++ b/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt @@ -0,0 +1,4 @@ +package moe.nea.ledger.utils + +@Retention(AnnotationRetention.BINARY) +annotation class NoSideEffects -- cgit