Skip to content

Commit 955fa54

Browse files
author
Johan Brichau
committed
added deprecation message in Pharo 9 and Squeak 6
1 parent e6ba7bd commit 955fa54

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
*Grease-Pharo90-Core
22
beginsWithSubCollection: aSequenceableCollection
3+
4+
self
5+
greaseDeprecatedApi: 'SequenceableCollection>>#beginsWithSubCollection:'
6+
details: 'Use SequenceableCollection>>#greaseBeginsWith:'.
37
"Some platforms implement #beginsWith: to answer true for an empty argument."
48
^ self beginsWith: aSequenceableCollection
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
*Grease-Pharo90-Core
22
endsWithSubCollection: aSequenceableCollection
3+
4+
self
5+
greaseDeprecatedApi: 'SequenceableCollection>>#endsWithSubCollection:'
6+
details: 'Use SequenceableCollection>>#greaseEndsWith:'.
37
"Some platforms implement #endsWith: to answer true for an empty argument."
48
^ self endsWith: aSequenceableCollection
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
*grease-squeak6-core
22
beginsWithSubCollection: aSequenceableCollection
3+
self
4+
greaseDeprecatedApi: 'SequenceableCollection>>#beginsWithSubCollection:'
5+
details: 'Use SequenceableCollection>>#greaseBeginsWith:'.
36
"Some platforms implement #beginsWith: to answer true for an empty argument."
7+
aSequenceableCollection isEmpty ifTrue: [ ^ false ].
48
^ self beginsWith: aSequenceableCollection
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
*grease-squeak6-core
22
endsWithSubCollection: aSequenceableCollection
3+
self
4+
greaseDeprecatedApi: 'SequenceableCollection>>#endsWithSubCollection:'
5+
details: 'Use SequenceableCollection>>#greaseEndsWith:'.
36
"Some platforms implement #endsWith: to answer true for an empty argument."
7+
aSequenceableCollection isEmpty ifTrue: [ ^ false ].
48
^ self endsWith: aSequenceableCollection

0 commit comments

Comments
 (0)