Skip to content

Commit

Permalink
Merge pull request #1544 from pharo-spec/deprecations
Browse files Browse the repository at this point in the history
Remove references to deprecated classes
  • Loading branch information
jecisc authored May 17, 2024
2 parents 1b93c6d + 6a531cb commit 5df6c0e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Spec2-CommonWidgets/SpChooserPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ SpChooserPresenter class >> exampleClasses [
SpChooserPresenter class >> examplePackages [

^ (self
sourceItems: RPackageOrganizer default packages
chosenItems:
{ (RPackageOrganizer default packageNamed: 'Spec2-CommonWidgets') }
displayBlock: #packageName) open
sourceItems: self packageOrganizer packages
chosenItems: { (self packageOrganizer packageNamed: 'Spec2-CommonWidgets') }
displayBlock: #packageName)
open
]

{ #category : 'instance creation' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ SpTransmissionComponentListExample >> initializePresenters [
display: [ :package | package name ];
displayIcon: [ self iconNamed: #package ];
sortingBlock: [ :a :b | a name < b name ];
items: RPackageOrganizer default packages.
items: self class packageOrganizer packages.

classesPresenter := self newComponentList.
classesPresenter := self newComponentList
]

{ #category : 'initialization' }
Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Examples/SpTransmissionExample.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ SpTransmissionExample >> initializePackagesPresenter [
display: [ :package | package name ];
displayIcon: [ self iconNamed: #package ];
sortingBlock: [ :a :b | a name < b name ];
items: RPackageOrganizer default packages
items: self class packageOrganizer packages
]

{ #category : 'initialization' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SpPresenterBuildTest >> testBuildPresenterWillSetPresenterProperty [
SpPresenterBuildTest >> testBuildWidgetPresenterWillSetPresenterProperty [

| package |
package := RPackageOrganizer default packageNamed: 'Spec2-Core'.
package := self class packageOrganizer packageNamed: 'Spec2-Core'.
SpAbstractWidgetPresenter allSubclasses
select: [ :each |
each package = package and: [
Expand Down

0 comments on commit 5df6c0e

Please sign in to comment.