You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/10/30 15:10:45 UTC

[airavata] 03/03: AIRAVATA-3233 Adding missing break statement

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 59b4afde6bfbea35f890017d756ead90c6d1a69b
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Wed Oct 30 11:08:29 2019 -0400

    AIRAVATA-3233 Adding missing break statement
---
 .../apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
index a8ac801..febda65 100644
--- a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
+++ b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
@@ -419,6 +419,7 @@ public class SimpleOrchestratorImpl extends AbstractOrchestrator{
                     case URI_COLLECTION:
                         if ((processInput.getValue() == null || processInput.getValue() == "") && !processInput.isIsRequired()) {
                             logger.debug("Skipping input data staging task for {} since value is empty and not required", processInput.getName());
+                            break;
                         }
                         final RegistryService.Client registryClient = getRegistryServiceClient();
                         try {