[squeak-dev] The Trunk: System-laza.289.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 9 20:39:08 UTC 2010


Alexander Lazarević uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-laza.289.mcz

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

Name: System-laza.289
Author: laza
Time: 9 March 2010, 9:38:30.929 pm
UUID: e75b6500-a85c-2746-b1b0-7402b58f5abf
Ancestors: System-nice.288

Fix for http://bugs.squeak.org/view.php?id=7434

=============== Diff against System-nice.288 ===============

Item was changed:
  ----- Method: LRUCache>>printOn: (in category 'printing') -----
  printOn: aStream 
+ 	"Append to the argument, aStream, a sequence of characters 
- 	"Append to the argument, aStream, a sequence of characters  
  	that identifies the receiver."
  	aStream nextPutAll: self class name;
  		 nextPutAll: ' size:';
  		 nextPutAll: size asString;
  		 nextPutAll: ', calls:';
  		 nextPutAll: calls asString;
  		 nextPutAll: ', hits:';
  		 nextPutAll: hits asString;
  		 nextPutAll: ', ratio:';
+ 		 nextPutAll: ((hits isNumber and: [calls isNumber and: [calls ~= 0]])
+ 			ifTrue: [hits / calls]
+ 			ifFalse: [0]) asFloat asString!
- nextPutAll: 
- 	(hits / calls) asFloat asString!




More information about the Squeak-dev mailing list