From a7cde913aa58c5baac3a7e8104e5b9dbb23b9e5d Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 29 Jan 2018 21:47:44 -0800 Subject: [PATCH] cleanup (formatting) --- .../configuration-store-impl/src/ComponentStoreImpl.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/configuration-store-impl/src/ComponentStoreImpl.kt b/platform/configuration-store-impl/src/ComponentStoreImpl.kt index c844e64bdff6..091b4bccc751 100644 --- a/platform/configuration-store-impl/src/ComponentStoreImpl.kt +++ b/platform/configuration-store-impl/src/ComponentStoreImpl.kt @@ -174,9 +174,7 @@ abstract class ComponentStoreImpl : IComponentStore { CompoundRuntimeException.throwIfNotEmpty(errors) } - private fun doSaveComponents(isForce: Boolean, - externalizationSession: ExternalizationSession, - _errors: MutableList?): MutableList? { + private fun doSaveComponents(isForce: Boolean, externalizationSession: ExternalizationSession, _errors: MutableList?): MutableList? { val isUseModificationCount = Registry.`is`("store.save.use.modificationCount", true) var errors = _errors @@ -239,8 +237,8 @@ abstract class ComponentStoreImpl : IComponentStore { return errors } - override @TestOnly - fun saveApplicationComponent(component: PersistentStateComponent<*>) { + @TestOnly + override fun saveApplicationComponent(component: PersistentStateComponent<*>) { val externalizationSession = storageManager.startExternalization() ?: return val stateSpec = StoreUtil.getStateSpec(component)