airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r1164709 - in /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui: ODEDeploymentClient.java ODEDeploymentWindow.java
Date Fri, 02 Sep 2011 20:52:18 GMT
Author: chathura
Date: Fri Sep  2 20:52:17 2011
New Revision: 1164709

URL: http://svn.apache.org/viewvc?rev=1164709&view=rev
Log:
Code Cleanup:

Removing noops
Removing Sysouts that are not part of tooling
Remove printing exceptions to logging them

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentClient.java
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentWindow.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentClient.java?rev=1164709&r1=1164708&r2=1164709&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentClient.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentClient.java
Fri Sep  2 20:52:17 2011
@@ -83,7 +83,7 @@ public class ODEDeploymentClient {
      * @param makePublic
      */
     public void deploy(WorkflowProxyClient wfClient, Workflow workflow, GSSCredential gssCredential,
-            boolean makePublic, long start) {
+            boolean makePublic) {
         try {
 
             org.xmlpull.infoset.XmlElement workflowXml = workflow.toXML();
@@ -125,7 +125,7 @@ public class ODEDeploymentClient {
                 engine.getWorkflow().setName("Control_" + oldWorkflowName);
                 engine.getWorkflow().getGraph().setID("Control_" + oldWorkflowName);
 
-                deploy(wfClient, engine.getWorkflow(), gssCredential, makePublic, System.currentTimeMillis());
+                deploy(wfClient, engine.getWorkflow(), gssCredential, makePublic);
 
 
             }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentWindow.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentWindow.java?rev=1164709&r1=1164708&r2=1164709&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentWindow.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ode/gui/ODEDeploymentWindow.java
Fri Sep  2 20:52:17 2011
@@ -255,9 +255,8 @@ public class ODEDeploymentWindow impleme
         this.invokeThread = new Thread() {
             @Override
             public void run() {
-                long start = System.currentTimeMillis();
                 new ODEDeploymentClient(ODEDeploymentWindow.this.engine, ODEDeploymentWindow.this.invokingDialog)
-                        .deploy(client, workflow, gssCredential, makePublic, start);
+                        .deploy(client, workflow, gssCredential, makePublic);
             }
 
         };



Mime
View raw message