[Pkg] Sake : Sake-Core-damiencassou.96.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Jan 21 10:42:52 UTC 2009


Damien Cassou uploaded a new version of Sake-Core to project Sake :
http://www.squeaksource.com/Sake/Sake-Core-damiencassou.96.mcz

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

Name: Sake-Core-damiencassou.96
Author: damiencassou
Time: 21 January 2009, 11:42:50 am
UUID: 8d9dbdbe-4336-4d61-adb3-b58b94370684
Ancestors: Sake-Core-damiencassou.95, Sake-Core-kph.95

- Merges

=============== Diff against Sake-Core-damiencassou.95 ===============

Item was changed:
  ----- Method: SakeTask class>>at:category:putMethod:doc: (in category 'as yet unclassified') -----
  at: selector category: cat putMethod: code doc: content
  
+ 	"only replace the method source if it has changed, return true/false to indicate whether a change occurred"
+ 	
+ 	| s source changed |
- 	| s source |
  	
  	source := (s := selector asLegalSelector asSymbol) , String cr, code  ,String cr, '""""""', String cr, content.
  
+ 	(changed := (self sourceCodeAt: s ifAbsent: nil) ~= source) ifTrue: [								 
+ 		self compile: source classified: cat notifying: nil.
+ 	].
+ 
+ 	^ changed!
- 	(self sourceCodeAt: s ifAbsent: nil) ~= source ifTrue: [								 
- 			 
- 		self compile: source classified: cat notifying: nil
- 	] 	
- 	 !



More information about the Packages mailing list