From f13ebf70037a6aa28dc53804c1f0cef6e2f23102 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Mon, 19 May 2014 01:36:03 +0100 Subject: Minor refactorings --- src/jcgp/gui/settings/testcase/TestCaseTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jcgp/gui/settings') 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 call(CellDataFeatures, 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 call(CellDataFeatures, 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); -- cgit v1.2.3