aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2019-09-18 16:54:29 +0300
committerEinat Vinouze <einat.vinouze@intl.att.com>2019-09-18 16:57:02 +0300
commitef3cdf1fb3b9432d3bdcbb39fb356042d2443103 (patch)
treef15d70b116e8624ef329ec398be3d45b70fe962e /vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt
parentbedaaafc685d279615e755419ca4d8653b8a29f7 (diff)
remove duplicated label InternalState.REPLACE_MYSELF
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt5
1 files changed, 0 insertions, 5 deletions
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