#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Tue, 28 Apr 2020 14:38:55 +0200
changeset 25370 c417f7edaec1
parent 25369 b3d232a613c9
child 25371 17efedcfcefd
#BUGFIX by stefan class: OrderedCollection class removed: #with: already inherited from superclass
OrderedCollection.st
--- a/OrderedCollection.st	Tue Apr 28 14:37:04 2020 +0200
+++ b/OrderedCollection.st	Tue Apr 28 14:38:55 2020 +0200
@@ -320,24 +320,6 @@
     ^ self new:size
 
     "Created: / 28-04-2020 / 14:32:27 / Stefan Vogel"
-!
-
-with:anElement
-    "redefined for performance"
-
-    |newColl|
-
-    newColl := self newWithCapacity:1.
-    newColl add:anElement.
-    ^ newColl
-
-    "
-     OrderedCollection with:1234.
-     StringCollection with:'Hello'.
-    "
-
-    "Created: / 24-04-2020 / 11:49:58 / cg"
-    "Modified (comment): / 28-04-2020 / 14:29:32 / Stefan Vogel"
 ! !