The Trunk: System-laza.289.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-laza.289.mcz

commits-2
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!