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() {
Show replies by date