You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if f(v) return null, we get a NPE. However, it is a totally acceptable value for javafx to return null here.
Suggested fix, replace line 320 by Option(f(v)).map(_.delegate).getOrElse(null).
Maybe a future solution would be to change f to be f: TableColumn.CellDataFeatures[S, T] => Option[ObservableValue[T, T]] to limit the number of Option wrapping as discussed in #370.
The text was updated successfully, but these errors were encountered:
In:
scalafx/scalafx/src/main/scala/scalafx/scene/control/TableColumn.scala
Line 320 in e9cb926
if
f(v)
return null, we get a NPE. However, it is a totally acceptable value for javafx to returnnull
here.Suggested fix, replace line 320 by
Option(f(v)).map(_.delegate).getOrElse(null)
.Maybe a future solution would be to change
f
to bef: TableColumn.CellDataFeatures[S, T] => Option[ObservableValue[T, T]]
to limit the number of Option wrapping as discussed in #370.The text was updated successfully, but these errors were encountered: