Marcel Taeumel uploaded a new version of 45Deprecated to project The Trunk:
http://source.squeak.org/trunk/45Deprecated-ct.27.mcz==================== Summary ====================
Name: 45Deprecated-ct.27
Author: ct
Time: 15 August 2019, 3:02:49.486584 am
UUID: 069f1037-0192-fe41-a267-3058ef31dea8
Ancestors: 45Deprecated-eem.26
Mark deprecated Utilities>>#methodDiffFor:class:selector:prettyDiffs: with #deprecated:
=============== Diff against 45Deprecated-eem.26 ===============
Item was changed:
----- Method: Utilities class>>methodDiffFor:class:selector:prettyDiffs: (in category '*45Deprecated-miscellaneous') -----
methodDiffFor: aString class: aClass selector: aSelector prettyDiffs: prettyDiffBoolean
"Return a string comprising a source-code diff between an existing method and the source-code in aString. DO prettyDiff if prettyDiffBoolean is true."
+ self deprecated: 'Use ' , ChangeList , #>> , #methodDiffFor:class:selector:prettyDiffs: , ' instead'.
^ (aClass notNil and: [aClass includesSelector: aSelector])
ifTrue:
[TextDiffBuilder
buildDisplayPatchFrom: (aClass sourceCodeAt: aSelector)
to: aString
inClass: aClass
prettyDiffs: prettyDiffBoolean]
ifFalse:
[aString copy]!