The Trunk: System-fbs.567.mcz

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

The Trunk: System-fbs.567.mcz

commits-2
Frank Shearar uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-fbs.567.mcz

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

Name: System-fbs.567
Author: fbs
Time: 15 July 2013, 11:00:17.659 pm
UUID: 3edcbbb4-ad82-054a-bd52-f7dd53553962
Ancestors: System-dtl.566

#methodDiffFor:class:selector:prettyDiffs: has only one sender, so move the method where if wants to go and deprecate the old copy.

=============== Diff against System-dtl.566 ===============

Item was removed:
- ----- Method: Utilities class>>methodDiffFor:class:selector:prettyDiffs: (in category '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."
-
- ^ (aClass notNil and: [aClass includesSelector: aSelector])
- ifTrue:
- [TextDiffBuilder
- buildDisplayPatchFrom: (aClass sourceCodeAt: aSelector)
- to: aString
- inClass: aClass
- prettyDiffs: prettyDiffBoolean]
- ifFalse:
- [aString copy]!