ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Adding branch option to cvschangelog
Date Wed, 28 Jan 2004 16:16:23 GMT
> From: Peter Reilly [mailto:peter.reilly@corvil.com]
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message