[squeak-dev] The Trunk: XML-Parser-nice.25.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 13 21:03:27 UTC 2010

Nicolas Cellier uploaded a new version of XML-Parser to project The Trunk:

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

Name: XML-Parser-nice.25
Author: nice
Time: 13 February 2010, 10:03:25.257 pm
UUID: b71ef74f-e5b1-4b40-b201-7310607ff459
Ancestors: XML-Parser-nice.24

move a temp assignment outside block

=============== Diff against XML-Parser-nice.24 ===============

Item was changed:
  ----- Method: SAXHandler classSide>>parseDocumentFromFileNamed:readIntoMemory: (in category 'instance creation') -----
  parseDocumentFromFileNamed: fileName readIntoMemory: readIntoMemory
  	| stream xmlDoc |
  	stream := FileDirectory default readOnlyFileNamed: fileName.
  		ifTrue: [stream := stream contentsOfEntireFile readStream].
+ 	xmlDoc := [self parseDocumentFrom: stream]
- 	[xmlDoc := self parseDocumentFrom: stream]
  		ensure: [stream close].

More information about the Squeak-dev mailing list