aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui
diff options
context:
space:
mode:
authorEduardo Pedroni <ep625@york.ac.uk>2014-05-19 01:36:03 +0100
committerEduardo Pedroni <ep625@york.ac.uk>2014-05-19 01:36:03 +0100
commitf13ebf70037a6aa28dc53804c1f0cef6e2f23102 (patch)
tree2295186b9655207d036df6c871902a760743e993 /src/jcgp/gui
parent2a655a0b1654a2721089f0f8d99b846d7e198f38 (diff)
Minor refactorings
Diffstat (limited to 'src/jcgp/gui')
-rw-r--r--src/jcgp/gui/settings/testcase/TestCaseTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jcgp/gui/settings/testcase/TestCaseTable.java b/src/jcgp/gui/settings/testcase/TestCaseTable.java
index d4f789c..605b75e 100644
--- a/src/jcgp/gui/settings/testcase/TestCaseTable.java
+++ b/src/jcgp/gui/settings/testcase/TestCaseTable.java
@@ -62,7 +62,7 @@ public class TestCaseTable extends Stage {
@Override
public ObservableValue<String> call(CellDataFeatures<TestCase<Object>, String> param) {
// create a new string property and give it the test case value, no need for dynamic binding - this wont change often
- return new SimpleStringProperty(param.getValue().getInput(index).toString());
+ return new SimpleStringProperty(param.getValue().getInputs()[index].toString());
}
});
tc.setSortable(false);
@@ -79,7 +79,7 @@ public class TestCaseTable extends Stage {
@Override
public ObservableValue<String> call(CellDataFeatures<TestCase<Object>, String> param) {
// create a new string property and give it the test case value, no need for dynamic binding - this wont change often
- return new SimpleStringProperty(param.getValue().getOutput(index).toString());
+ return new SimpleStringProperty(param.getValue().getOutputs()[index].toString());
}
});
tc.setSortable(false);