-
Bug
-
Resolution: Unresolved
-
P4
-
jfx14
The following code uses a parameter whose name is exactly the same as the type name. Although it is valid, and compiles, this is bad practice, and should be avoided.
private ObservableList<TreeItem<File>> buildChildren(TreeItem<File> TreeItem) {
It would be more in line with prevailing practice for the name to begin with a lower case letter.
private ObservableList<TreeItem<File>> buildChildren(TreeItem<File> TreeItem) {
It would be more in line with prevailing practice for the name to begin with a lower case letter.
- relates to
-
JDK-8184912 TreeItem.leafProperty() out of sync with isLeaf()
- Open
-
JDK-8089811 TreeItem: invalid implementation of isLeaf in java doc example (FileTreeItem)
- Open
- links to