[squeak-dev] The Inbox: Tools-ct.946.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 24 13:00:43 UTC 2020


Christoph Thiede uploaded a new version of Tools to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.946.mcz

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

Name: Tools-ct.946
Author: ct
Time: 24 February 2020, 2:00:37.875323 pm
UUID: f4722cd3-964b-444e-9496-9c78fb2d7073
Ancestors: Tools-ct.931

Fixes a small regression in Tools-ct.931 if no versions are available.

=============== Diff against Tools-ct.931 ===============

Item was changed:
  ----- Method: VersionsBrowser>>scanVersionsOf:class:meta:category:selector: (in category 'init & update') -----
  scanVersionsOf: method class: class meta: meta category: category selector: selector
  
  	selectorOfMethod := selector.
  	currentCompiledMethod := method.
  	classOfMethod := meta ifTrue: [class class] ifFalse: [class].
  	changeList := OrderedCollection new.
  	list := OrderedCollection new.
  	self addedChangeRecord ifNotNil: [ :change |
  		self
  			addItem: change
  			text: ('{1} (in {2})' translated
  				format: { change stamp. change fileName }) ].
  	listIndex := 0.
  	(ChangeSet scanVersionsOf: method class: class meta: meta category: category selector: selector)
+ 		ifNil: [^ nil];
  		do: [ :change |
  			self
  				addItem: change
  				text: ('{1} {2} {3} \{{4}\}' translated format: {
  					change stamp. classOfMethod name. selector. change category })].
  	listSelections := Array new: list size withAll: false.!



More information about the Squeak-dev mailing list