[jbosstools-commits] JBoss Tools SVN: r43162 - branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/entity.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Aug 22 09:23:27 EDT 2012


Author: psuchy
Date: 2012-08-22 09:23:27 -0400 (Wed, 22 Aug 2012)
New Revision: 43162

Modified:
   branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/entity/Runtime.java
Log:


Modified: branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/entity/Runtime.java
===================================================================
--- branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/entity/Runtime.java	2012-08-22 12:03:14 UTC (rev 43161)
+++ branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/entity/Runtime.java	2012-08-22 13:23:27 UTC (rev 43162)
@@ -1,5 +1,7 @@
 package org.jboss.tools.runtime.as.ui.bot.test.entity;
 
+import java.io.File;
+
 public class Runtime {
 	
 	private String name;
@@ -8,7 +10,7 @@
 	
 	private String type;
 	
-	private String location;
+	private File location;
 
 	public String getName() {
 		return name;
@@ -34,13 +36,17 @@
 		this.type = type;
 	}
 
-	public String getLocation() {
+	public File getLocation() {
 		return location;
 	}
 
-	public void setLocation(String location) {
+	public void setLocation(File location) {
 		this.location = location;
 	}
+	
+	public void setLocation(String location) {
+		this.location = new File(location);
+	}
 
 	@Override
 	public int hashCode() {



More information about the jbosstools-commits mailing list