changeset 6018:e79d7e912439

ECLIPSE ONLY: work around Eclipse jdk8 compiler issue
author snorthov
date Mon, 23 Dec 2013 10:15:31 -0500
parents 5ef29516c939
children 3f3be4c811d1
files modules/controls/src/test/java/javafx/scene/control/TableViewTest.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/test/java/javafx/scene/control/TableViewTest.java	Sun Dec 22 10:53:02 2013 +0200
+++ b/modules/controls/src/test/java/javafx/scene/control/TableViewTest.java	Mon Dec 23 10:15:31 2013 -0500
@@ -2004,7 +2004,8 @@
 
         TableColumn<Person,String> first = new TableColumn<Person,String>("first");
         first.setCellValueFactory(new PropertyValueFactory("firstName"));
-        first.setCellFactory(TextFieldTableCell.forTableColumn());       // note that only the first name col is editable
+        Callback<TableColumn<Person, String>, TableCell<Person, String>> factory = TextFieldTableCell.forTableColumn();
+        first.setCellFactory(factory);       // note that only the first name col is editable
 
         EventHandler<TableColumn.CellEditEvent<Person, String>> onEditCommit = first.getOnEditCommit();
         first.setOnEditCommit(new EventHandler<TableColumn.CellEditEvent<Person, String>>() {