Dominique Devienne wrote:

From: Peter Reilly [mailto:[EMAIL PROTECTED]
Antoine Lévy-Lambert wrote:


Does it break *BC* if I change the ChangeLogTask class to inherit from
AbstractCvsTask instead of Task ?


I do not think so.
It is allowed to add new methods to a class, so adding a new super class
should not be a problem.
I have done this with TaskDef. In 1.6 it inherits from TypeDef and not
from Definer.



Well, that can surely break BC Peter if one used to cast a TaskDef into a
Definer, no? Sure, it's not sensible code, but it's not 100% BC. All the
old methods might still be there, so it's only 99.999% BC, which is fine
by me ;-) I'm just neat picking here. --DD


One can still cast a TaskDef to a Definer.

1.6.0 Taskdef -> Typedef -> Definer
1.5    Taskdef -> Definer

Peter


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to