[squeak-dev] The Trunk: System-fbs.567.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jul 15 22:01:01 UTC 2013

Frank Shearar uploaded a new version of System to project The Trunk:

==================== 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]!

More information about the Squeak-dev mailing list