Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001087 [tweak] Any feature always 04-20-05 16:39 04-22-05 07:42
Reporter jens View Status public  
Assigned To
Priority normal Resolution open  
Status acknowledged  
Summary 0001087: before: anElement in CCollectionBase
Description CCollectionBase has a method after: anElement
so it should have a method before: anElement too

CCollectionBase >> before: anElement
    "Return the object before me or nil"
    ^self at: (self indexOf: anElement)-1 ifAbsent: [nil]
Additional Information
Attached Files

- Relationships

- Notes
(0001406 - 446 - 446 - 446 - 446 - 446 - 446)
04-22-05 07:42

Acknowledged. If #after: is there so should be #before: - however, I am no fan of any of these protocols and seeing that in a fully loaded 3.7 image #before: is used once and #after: is not used at all does nothing to convince me of the value of these protocols. I'll defer this issue until 3.8 final is out - if there aren't at least half a dozen uses those messages will be deleted. If they are we're going to support them both for consistency.

- Issue History
Date Modified Username Field Change
04-20-05 16:39 jens New Issue
04-22-05 07:42 andreas Note Added: 0001406
04-22-05 07:42 andreas Status new => acknowledged

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker