From ef3cdf1fb3b9432d3bdcbb39fb356042d2443103 Mon Sep 17 00:00:00 2001 From: Einat Vinouze Date: Wed, 18 Sep 2019 16:54:29 +0300 Subject: remove duplicated label InternalState.REPLACE_MYSELF Issue-ID: VID-646 Signed-off-by: Einat Vinouze Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210 --- .../src/main/java/org/onap/vid/job/command/ResourceCommand.kt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vid-app-common/src') diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt index 2c50e03cd..8c769d68d 100644 --- a/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt +++ b/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt @@ -222,11 +222,6 @@ abstract class ResourceCommand( else -> InternalState.IN_PROGRESS } - InternalState.REPLACE_MYSELF -> when (jobStatus) { - JobStatus.IN_PROGRESS -> InternalState.REPLACE_MYSELF - else -> InternalState.IN_PROGRESS - } - InternalState.IN_PROGRESS -> { when { jobStatus != JobStatus.COMPLETED -> InternalState.IN_PROGRESS -- cgit 1.2.3-korg