The Trunk: 51Deprecated-topa.4.mcz

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

The Trunk: 51Deprecated-topa.4.mcz

commits-2
Tobias Pape uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-topa.4.mcz

==================== Summary ====================

Name: 51Deprecated-topa.4
Author: topa
Time: 8 October 2015, 8:47:52.375 pm
UUID: b425da42-7d61-4376-abd3-dc4be651bacc
Ancestors: 51Deprecated-topa.3

Mark deprecated messages as such

=============== Diff against 51Deprecated-topa.3 ===============

Item was changed:
  ----- Method: PositionableStream>>oldBack (in category '*51Deprecated-accessing') -----
  oldBack
  "Go back one element and return it.  Use indirect messages in case I am a StandardFileStream"
  "The method is a misconception about what a stream is. A stream contains a pointer *between* elements with past and future elements. This method considers that the pointer is *on* an element. Please consider unit tests which verifies #back and #oldBack behavior. (Damien Cassou - 1 August 2007)"
+ self deprecated: 'Use #back'.
  self position = 0 ifTrue: [self errorCantGoBack].
  self position = 1 ifTrue: [self position: 0.  ^ nil].
  self skip: -2.
  ^ self next
  !

Item was changed:
  ----- Method: WriteStream>>nextPutKeyword:withArg: (in category '*51Deprecated-character writing') -----
  nextPutKeyword: keyword withArg: argValue
  "Emit a keyword/value pair in the alternate syntax"
+ self deprecated.
-
  self nextPutAll: (keyword copyWithout: $:);
  nextPut: $(;
  store: argValue;
  nextPut: $)!