diff --git a/Common/src/main/java/com/tabnineCommon/general/TopicBasedState.kt b/Common/src/main/java/com/tabnineCommon/general/TopicBasedState.kt index b302f3b3..54b57c12 100644 --- a/Common/src/main/java/com/tabnineCommon/general/TopicBasedState.kt +++ b/Common/src/main/java/com/tabnineCommon/general/TopicBasedState.kt @@ -11,9 +11,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock import java.util.function.Consumer open class TopicBasedState<T, S : Consumer<T>>( - private val topic: Topic<S>, - @Volatile - private var value: T? = null + private val topic: Topic<S>, @Volatile private var value: T? = null ) { private val rwLock: ReadWriteLock = ReentrantReadWriteLock() private val hasChanged = AtomicBoolean(false)