airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Fixing the bug in casting ProcessWorkflowResource
Date Wed, 23 Jan 2019 21:50:11 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/staging by this push:
     new 06c20dc  Fixing the bug in casting ProcessWorkflowResource
06c20dc is described below

commit 06c20dce2a96c26a9f70e1d7fa86f39c04283e77
Author: Dimuthu Wannipurage <dimuthu.upeksha2@gmail.com>
AuthorDate: Wed Jan 23 16:50:01 2019 -0500

    Fixing the bug in casting ProcessWorkflowResource
---
 .../registry/core/experiment/catalog/resources/ProcessResource.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/ProcessResource.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/ProcessResource.java
index 59eab0a..3880eb6 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/ProcessResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/ProcessResource.java
@@ -552,9 +552,9 @@ public class ProcessResource extends AbstractExpCatResource {
                     if (results.size() != 0) {
                         for (Object result : results) {
                             ProcessWorkflow processWorkflow = (ProcessWorkflow) result;
-                            ProcessWorkflowResource jobResource =
+                            ProcessWorkflowResource workflowResource =
                                     (ProcessWorkflowResource) Utils.getResource(ResourceType.PROCESS_WORKFLOW,
processWorkflow);
-                            resourceList.add(jobResource);
+                            resourceList.add(workflowResource);
                         }
                     }
                     break;


Mime
View raw message