You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/05/12 21:31:00 UTC

airavata git commit: fixed the enum

Repository: airavata
Updated Branches:
  refs/heads/master 6f8fa3e90 -> 1b84883f1


fixed the enum


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

Branch: refs/heads/master
Commit: 1b84883f194f3a5f9b228d63d3e46b9d8f936909
Parents: 6f8fa3e
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Tue May 12 15:30:53 2015 -0400
Committer: Chathuri Wimalasena <ch...@apache.org>
Committed: Tue May 12 15:30:53 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/1b84883f/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java
index b49c041..9861cdc 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/GFacUtils.java
@@ -906,7 +906,7 @@ public class GFacUtils {
         if (expState == null || expState.isEmpty()) {
             return GfacExperimentState.UNKNOWN;
         }
-        return GfacExperimentState.valueOf(expState);
+        return GfacExperimentState.findByValue(Integer.valueOf(expState));
     }
 
 	public static int getZKExperimentStateValue(ZooKeeper zk,