[Clirr-devel] [ clirr-Feature Requests-961227 ] Move method to superclass
Status: Alpha
Brought to you by:
lkuehne
From: SourceForge.net <no...@so...> - 2004-06-06 08:59:14
|
Feature Requests item #961227, was opened at 2004-05-27 00:51 Message generated for change (Comment added) made by lkuehne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=590802&aid=961227&group_id=89627 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stephen Colebourne (scolebourne) Assigned to: Lars Kühne (lkuehne) Summary: Move method to superclass Initial Comment: Clirr currently objects if a method is removed from one class and added/exposed on the superclass if the superclass is package scoped. eg. commons collections 3.0-HEAD TransformedMap/PredicatedMap entrySet() previously on each class, now on new package scoped superclass ---------------------------------------------------------------------- >Comment By: Lars Kühne (lkuehne) Date: 2004-06-06 10:59 Message: Logged In: YES user_id=401384 Fixed in 0.4. For example, when comparing commons collections 2.1 and 3.0 Clirr reports: INFO: Method 'public void putAll(java.util.Map)' is now implemented in superclass java.util.HashMap in org.apache.commons.collections.MultiHashMap where Clirr 0.3 used to report: ERROR: Method 'public void putAll(java.util.Map)' has been removed in org.apache.commons.collections.MultiHashMap ---------------------------------------------------------------------- Comment By: Lars Kühne (lkuehne) Date: 2004-06-02 10:27 Message: Logged In: YES user_id=401384 I've started working on this one, a unit test is ready and currently fails. ---------------------------------------------------------------------- Comment By: Stephen Colebourne (scolebourne) Date: 2004-05-27 00:55 Message: Logged In: YES user_id=408725 Actually this bug seems to affect any remove of a method from a subclass to be replaced by the same signature on a superclass ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=590802&aid=961227&group_id=89627 |