From ddfe5a35898baecd58de3e91f9983ade663003dd Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 28 Dec 2016 11:46:23 +0100 Subject: [PATCH] return actual value from wrapped stream provider --- .../configuration-store-impl/src/StreamProviderWrapper.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/platform/configuration-store-impl/src/StreamProviderWrapper.kt b/platform/configuration-store-impl/src/StreamProviderWrapper.kt index 6bf219ab3a10..2750926d5fc3 100644 --- a/platform/configuration-store-impl/src/StreamProviderWrapper.kt +++ b/platform/configuration-store-impl/src/StreamProviderWrapper.kt @@ -18,10 +18,7 @@ class StreamProviderWrapper : StreamProvider { roamingType: RoamingType, filter: Function1, processor: Function3): Boolean { - return streamProvider?.let { - it.processChildren(path, roamingType, filter, processor) - true - } ?: false + return streamProvider?.processChildren(path, roamingType, filter, processor) ?: false } override fun write(fileSpec: String, content: ByteArray, size: Int, roamingType: RoamingType) {