implemented workflow run history

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/8ac19818
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/8ac19818
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/8ac19818

Branch: refs/heads/master
Commit: 8ac19818d7b3c18f7e89d60a83b956ce83d296bf
Parents: 0c53f1c
Author: larrytech7 <larrya...@gmail.com>
Authored: Sun Jul 19 14:22:10 2015 +0100
Committer: larrytech7 <larrya...@gmail.com>
Committed: Sun Jul 19 14:22:10 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/taverna/mobile/utils/DetailsLoader.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/8ac19818/app/src/main/java/org/apache/taverna/mobile/utils/DetailsLoader.java
----------------------------------------------------------------------
diff --git 
a/app/src/main/java/org/apache/taverna/mobile/utils/DetailsLoader.java 
b/app/src/main/java/org/apache/taverna/mobile/utils/DetailsLoader.java
index 0af5a98..09fe1cf 100644
--- a/app/src/main/java/org/apache/taverna/mobile/utils/DetailsLoader.java
+++ b/app/src/main/java/org/apache/taverna/mobile/utils/DetailsLoader.java
@@ -66,7 +66,7 @@ public class DetailsLoader extends AsyncTaskLoader<Workflow> {
         super(context);
         this.context = context;
         this.lt = load_type;
-        this.uri = dataParam;
+        uri = dataParam;
         this.workflow = new Workflow();
     }
 
@@ -84,7 +84,7 @@ public class DetailsLoader extends AsyncTaskLoader<Workflow> {
 
             switch (this.lt){
                 case TYPE_WORKFLOW_DETAIL:
-                    workflowurl = new URL(this.uri);
+                    workflowurl = new URL(uri);
                     connection = (HttpURLConnection) 
workflowurl.openConnection();
                     connection.setRequestProperty("Accept", 
"application/json");
                     connection.setRequestMethod("GET");
@@ -171,7 +171,7 @@ public class DetailsLoader extends 
AsyncTaskLoader<Workflow> {
                         StringBuffer nm = new StringBuffer(), ur = new 
StringBuffer();
                         for(String n: name.toLowerCase().split(" "))
                             nm.append(n);
-                        for (String p: this.uri.toLowerCase().split(" "))
+                        for (String p: uri.toLowerCase().split(" "))
                             ur.append(p);
 
                         if(nm.toString().equals(ur.toString())) {

Reply via email to