View Full Version : [FNR] TreeModel implementation can't be extended

4 Jun 2008, 8:28 AM
Some of the methods in TreeModel returns List<TreeModel> instead of List<T> where T extends TreeModel (or BaseTreeModel).

Can't this be fixed to be more flexible?

NB: I haven't checked the other model implementations. There might be some others lurking around. I'm also using B2, so I'm not sure if it is fixed in B4.

4 Jun 2008, 3:12 PM
I added generic support to TreeModel and BaseTreeModel. Change is in SVN.