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()