diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/UseCases/ModifyPsychomatrixUseCase.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/UseCases/ModifyPsychomatrixUseCase.kt index e0bdc64..b7d9f2d 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/UseCases/ModifyPsychomatrixUseCase.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/UseCases/ModifyPsychomatrixUseCase.kt @@ -3,8 +3,6 @@ package com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.MutablePsychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.Psychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.Operation -import kotlinx.coroutines.experimental.Deferred -import kotlinx.coroutines.experimental.async import kotlinx.coroutines.experimental.channels.ReceiveChannel typealias PsychomatrixOperationIsConvert = Pair> diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/entities/MutablePsychomatrix.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/entities/MutablePsychomatrix.kt index a6113af..725f3c4 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/entities/MutablePsychomatrix.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/entities/MutablePsychomatrix.kt @@ -1,10 +1,6 @@ package com.github.insanusmokrassar.PsychomatrixBase.domain.entities -import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.Operation -import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.availableConverts -import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.availableInverts -import kotlinx.coroutines.experimental.Deferred -import kotlinx.coroutines.experimental.async +import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.* import org.joda.time.DateTime class MutablePsychomatrix(date: DateTime) : Psychomatrix(date) { diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/interactors/ModifyPsychomatrixUseCaseInteractor.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/interactors/ModifyPsychomatrixUseCaseInteractor.kt index bde8a50..d438c5d 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/interactors/ModifyPsychomatrixUseCaseInteractor.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/domain/interactors/ModifyPsychomatrixUseCaseInteractor.kt @@ -6,8 +6,6 @@ import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.MutablePsych import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.Psychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.Operation import com.github.insanusmokrassar.PsychomatrixBase.utils.extensions.SUBSCRIPTIONS_MEDIUM -import kotlinx.coroutines.experimental.Deferred -import kotlinx.coroutines.experimental.async import kotlinx.coroutines.experimental.channels.BroadcastChannel import kotlinx.coroutines.experimental.channels.ReceiveChannel diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/DefaultRealisations/ModifyPsychomatrixPresenterImpl.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/DefaultRealisations/ModifyPsychomatrixPresenterImpl.kt index bddd442..9318839 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/DefaultRealisations/ModifyPsychomatrixPresenterImpl.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/DefaultRealisations/ModifyPsychomatrixPresenterImpl.kt @@ -4,14 +4,9 @@ import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.ModifyPsycho import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.PsychomatrixOperationIsConvert import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.MutablePsychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.Psychomatrix -import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.* +import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.Operation import com.github.insanusmokrassar.PsychomatrixBase.presentation.presenters.ModifyPsychomatrixPresenter -import com.github.insanusmokrassar.PsychomatrixBase.utils.extensions.subscribe -import kotlinx.coroutines.experimental.Deferred -import kotlinx.coroutines.experimental.Job -import kotlinx.coroutines.experimental.async import kotlinx.coroutines.experimental.channels.ReceiveChannel -import kotlinx.coroutines.experimental.launch class ModifyPsychomatrixPresenterImpl( private val modifyPsychomatrixUseCase: ModifyPsychomatrixUseCase diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/ModifyPsychomatrixPresenter.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/ModifyPsychomatrixPresenter.kt index 7d51748..62fb555 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/ModifyPsychomatrixPresenter.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/presentation/presenters/ModifyPsychomatrixPresenter.kt @@ -4,8 +4,6 @@ import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.Psychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.MutablePsychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.Psychomatrix import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.operations.Operation -import kotlinx.coroutines.experimental.Deferred -import kotlinx.coroutines.experimental.Job import kotlinx.coroutines.experimental.channels.ReceiveChannel interface ModifyPsychomatrixPresenter {