airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1188497 - in /incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type: app/GramApplicationDeployment.java app/ShellApplicationDeployment.java host/GlobusHost.java
Date Tue, 25 Oct 2011 02:45:51 GMT
Author: patanachai
Date: Tue Oct 25 02:45:51 2011
New Revision: 1188497

URL: http://svn.apache.org/viewvc?rev=1188497&view=rev
Log:
AIRAVATA-170 remove unused method

Modified:
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java?rev=1188497&r1=1188496&r2=1188497&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
(original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
Tue Oct 25 02:45:51 2011
@@ -84,18 +84,4 @@ public class GramApplicationDeployment e
     public void setJobType(String jobType) {
         this.gramApplicationDeploymentType.setJobType(jobType);
     }
-    
-    public String toXml() {
-		return gramApplicationDeploymentType.xmlText();
-	}
-
-	public ApplicationDeploymentDescription fromXml(String xml) {
-		try {
-			this.gramApplicationDeploymentType = GramApplicationDeploymentType.Factory
-					.parse(xml);
-		} catch (Exception e) {
-			throw new RuntimeException(e);
-		}
-		return this;
-	}
 }

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java?rev=1188497&r1=1188496&r2=1188497&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
(original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
Tue Oct 25 02:45:51 2011
@@ -76,19 +76,5 @@ public class ShellApplicationDeployment 
 
     public void setStdIn(String stdIn) {
         this.shellApplicationDeploymentType.setStdIn(stdIn);
-    }
-    
-    public String toXml() {
-		return shellApplicationDeploymentType.xmlText();
-	}
-
-	public ApplicationDeploymentDescription fromXml(String xml) {
-		try {
-			this.shellApplicationDeploymentType = ShellApplicationDeploymentType.Factory
-					.parse(xml);
-		} catch (Exception e) {
-			throw new RuntimeException(e);
-		}
-		return this;
-	}
+    }      
 }

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java?rev=1188497&r1=1188496&r2=1188497&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java
(original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java
Tue Oct 25 02:45:51 2011
@@ -52,17 +52,4 @@ public class GlobusHost extends HostDesc
 		this.globusHostType
 				.setGlobusGateKeeperEndPoint(globusGateKeeperEndPoint);
 	}
-
-	public String toXml() {
-		return globusHostType.xmlText();
-	}
-
-	public HostDescription fromXml(String xml) {
-		try {
-			this.globusHostType = GlobusHostType.Factory.parse(xml);
-		} catch (Exception e) {
-			throw new RuntimeException(e);
-		}
-		return this;
-	}
 }
\ No newline at end of file



Mime
View raw message