myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Byrne <den...@dbyrne.net>
Subject Re: [jira] Commented: (MYFACES-447) tree2 TreeNode interface has too many methods
Date Sun, 28 Aug 2005 19:01:16 GMT
>TreeNode is, and always has been, an interface. So, of 
course, yes.

So the patch does affect users?

>As I said, anyTreeNode has static type TreeNode. Calling a 
method that 
>is removed from the interface on a variable with static type 
TreeNode 
>obviously would be a problem, but as far as I can see, 
nobody would 
>have written such code.

How far have you looked?

>In your case, I suppose CustomTreeNodeBase would extend 
TreeNodeBase, 
>and anyTreeNode could have static type TreeNodeBase in the 
loop.

So the patch does affect users?

>What do static methods have to do with all this?

I really don't know what to do here other than copy and paste 
what you have written for number 2.

Dennis Byrne

Mime
View raw message