From 70782e0fa2e347c8f6e04173b265bdbd6713b3a4 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 25 Feb 2024 15:15:08 +0700 Subject: [PATCH] brain fart --- gradle.properties | 2 +- src/main/kotlin/ru/dbotthepony/kommons/io/DelegateSyncher.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 65476b1..9dde8ab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ kotlin.code.style=official specifyKotlinAsDependency=false projectGroup=ru.dbotthepony.kommons -projectVersion=2.9.8 +projectVersion=2.9.9 guavaDepVersion=33.0.0 gsonDepVersion=2.8.9 diff --git a/src/main/kotlin/ru/dbotthepony/kommons/io/DelegateSyncher.kt b/src/main/kotlin/ru/dbotthepony/kommons/io/DelegateSyncher.kt index 5a7a34f..a182fa1 100644 --- a/src/main/kotlin/ru/dbotthepony/kommons/io/DelegateSyncher.kt +++ b/src/main/kotlin/ru/dbotthepony/kommons/io/DelegateSyncher.kt @@ -410,7 +410,7 @@ class DelegateSyncher : Observer { synchronized(it.changelistLock) { it.changelist.removeIf { it.key.valueEquals(key) } - it.changelist.add(MapAction(KOptional(keyCodec.copy(key)), KOptional(valueCodec.copy(value)), REMOVE)) + it.changelist.add(MapAction(KOptional(keyCodec.copy(key)), KOptional(), REMOVE)) } it.markDirty()