Incorrect comment inside OrderedCollection isEmpty method

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Incorrect comment inside OrderedCollection isEmpty method

Postby nelsongonzalez » Fri Jun 11, 2010 10:36 am

OrderedCollection
>>isEmpty

"Answer a Boolean which is true if the receiver contains
elements and false otherwise."

^firstIndex = lastIndex

(06/06/96 06:48:18) from CLDT in 'ANSI-API' + 'CLDT-API'

It should say doesn't contain.
It looks like it was copy and pasted from the notEmpty method.

BTW: I am not a native english speaker. :)
nelsongonzalez
 
Posts: 1
Joined: Fri Jun 11, 2010 9:57 am

Re: Incorrect comment inside OrderedCollection isEmpty method

Postby schepurny » Fri Jun 11, 2010 11:36 am

Good catch! I hope this doesn't delay the next release! :wink:
schepurny
 
Posts: 16
Joined: Tue Jan 15, 2008 10:23 am

Re: Incorrect comment inside OrderedCollection isEmpty method

Postby wembley » Mon Jun 14, 2010 7:22 am

Nelson -

I guess not too many people read the comments since it has been that was since 1996. Case 46774 opened. I'm pretty sure we can fix this problem without delaying the next release. :lol:
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest