FogBugz (Case [Issue]12238) Tools - ProtocolOrganizer allProtocols vs protocols are inconsistent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]12238) Tools - ProtocolOrganizer allProtocols vs protocols are inconsistent

Pharo Issue Tracker
FogBugz Notification
avatar
Stephane Ducasse opened Case 12238: ProtocolOrganizer allProtocols vs protocols are inconsistent and assigned it to Everyone:
Bug in Project:  Tools: 1. Pharo Image  •  You are subscribed to this case
I have a question: why allProtocols returns an array and protocols a set?

allProtocols

^ { allProtocol }, protocols asArray

protocols

^ protocols

protocolsNames

^ protocols
collect: #name
as: Array

initialize

super initialize.

protocols := IdentitySet new.
allProtocol := AllProtocol protocolOrganizer: self.

to me it looks suspicious and it will be a source of bugs.

Stef
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker