Open tobiasdiez opened 2 years ago
Easiest way: Rename the methods to avoid ambiguity. We can deprecate map and flatMap, I think. I would keep the OptionalBinding as there is no equivalent.
For testing with javafx19, it's easiest way is to use the javafx plugin for gradle and set the version to '19-ea+10' https://mvnrepository.com/artifact/org.openjfx/javafx-base/19-ea+10
Renaming sounds like a good idea indeed.
@Siedlerchr the new snapshot should be compatible with jfx 19. Can you please test this with JabRef?
Will test later this evening.
I noticed there was one or Else method that Still clashed. Created a follow up pr
There have been recently similar improvements to the core of JFX: https://github.com/openjdk/jfx/commit/60c75b82a4e1523b108fa79f44084190d78f5be1
Todo:
EasyBind.map
(similar tomap
but differs in handling ofnull
) andEasyBind.mapObservable
(similar toflatMap
, but different handling of null)