airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: Added missing break statements to recover method
Date Wed, 13 May 2015 18:44:36 GMT
Repository: airavata
Updated Branches:
  refs/heads/master aa7af1bc3 -> 16b58b8c8


Added missing break statements to recover method


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/16b58b8c
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/16b58b8c
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/16b58b8c

Branch: refs/heads/master
Commit: 16b58b8c824786db23ba851e6043a09c0ebb8f08
Parents: aa7af1b
Author: shamrath <shameerainfo@gmail.com>
Authored: Wed May 13 14:44:34 2015 -0400
Committer: shamrath <shameerainfo@gmail.com>
Committed: Wed May 13 14:44:34 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/16b58b8c/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
index 3d5c580..da55a2d 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
@@ -634,8 +634,10 @@ public class BetterGfacImpl implements GFac,Watcher {
                 case OUTHANDLERSINVOKED:
                 case COMPLETED:
                     GFacUtils.updateExperimentStatus(jobExecutionContext.getExperimentID(),
ExperimentState.COMPLETED);
+                    break;
                 case FAILED:
                     GFacUtils.updateExperimentStatus(jobExecutionContext.getExperimentID(),
ExperimentState.FAILED);
+                    break;
                 case UNKNOWN:
                     log.info("All output handlers are invoked successfully, ExperimentId:
" + experimentID + " taskId: " + jobExecutionContext.getTaskData().getTaskID());
                     break;


Mime
View raw message