ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: Adding branch option to cvschangelog
Date Wed, 28 Jan 2004 17:55:02 GMT
Dominique Devienne wrote:

>>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
>  
>
One can still cast a TaskDef to a Definer.

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

Peter


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


Mime
View raw message