From f23537a49c199af7489b2fa4e63cdfe41d773abb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 15:02:30 +0000 Subject: [PATCH] =?UTF-8?q?refactor(quartz):=20rename=20InternedEventStore?= =?UTF-8?q?=20=E2=86=92=20InterningEventStore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Past-participle "Interned" suggested an attribute of the events flowing through; present-participle "Interning" describes what the decorator actively does. Read clearer. File renamed, no consumers needed updating (this commit is the only external reference, since callers compose the decorator inline). All 240 store + projection + interner tests still pass. https://claude.ai/code/session_01Jny85MTu1ynKgFBgysfWu5 --- .../{InternedEventStore.kt => InterningEventStore.kt} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/{InternedEventStore.kt => InterningEventStore.kt} (98%) diff --git a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InternedEventStore.kt b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InterningEventStore.kt similarity index 98% rename from quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InternedEventStore.kt rename to quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InterningEventStore.kt index 2bea9daae..3e521ee22 100644 --- a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InternedEventStore.kt +++ b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/cache/interning/InterningEventStore.kt @@ -35,7 +35,7 @@ import com.vitorpamplona.quartz.nip01Core.store.IEventStore * * ``` * val sqlite = EventStore(...) - * val cached = InternedEventStore(sqlite) + * val cached = InterningEventStore(sqlite) * val observable = ObservableEventStore(cached) * ``` * @@ -48,7 +48,7 @@ import com.vitorpamplona.quartz.nip01Core.store.IEventStore * The default [interner] is [EventInterner.Default]; pass a fresh * instance for tests or any context that needs isolation. */ -class InternedEventStore( +class InterningEventStore( private val inner: IEventStore, private val interner: EventInterner = EventInterner.Default, ) : IEventStore {