changeset 6891:eba061e3ad6a

[Accessibility] remove dead code
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Thu, 24 Apr 2014 16:10:35 -0700
parents e907dcc7c834
children 638fa2b3848b
files modules/controls/src/main/java/javafx/scene/control/TreeTableRow.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/javafx/scene/control/TreeTableRow.java	Thu Apr 24 15:00:23 2014 -0700
+++ b/modules/controls/src/main/java/javafx/scene/control/TreeTableRow.java	Thu Apr 24 16:10:35 2014 -0700
@@ -540,7 +540,6 @@
         switch (attribute) {
             case ROLE: return Role.TREE_TABLE_ITEM;
             case TREE_ITEM_PARENT: {
-                if (treeTableView == null) return null;
                 if (treeItem == null) return null;
                 TreeItem<T> parent = treeItem.getParent();
                 if (parent == null) return null;