TableCell: how to find the origin of fishy code?

Jeanette Winzenburg fastegal at swingempire.de
Tue Jul 6 09:13:57 UTC 2021


Just noticed an inconsistency in event firing pattern in tableCell's  
xxEdit methods:

the pattern in cancel/commit:

     if (table != null) {
         // create and fire the event

in start:

     if (column != null) {
        // create and fire the event

usual question: bug or feature? Could there be any reason for the  
difference? As I can't think of any, so the usual tracking into  
history: it was there since the beginning of time, earliest in git is

   e89e55e07972ce208ed5f89d091946392dc98114 add javafx-ui-control  
classes 2011-11-10

which seems to be the same as master 2.1  
(http://hg.openjdk.java.net/openjfx/2.1/master/rt/file/b7d368850c33/javafx-ui-controls/src/javafx/scene/control/TableCell.java) in old  
mercurial

Any earlier versions that are accessible, if so where?



More information about the openjfx-dev mailing list