Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Jan 30, 2024
1 parent a82e170 commit e995334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FASTRefactor/FMSlotMultivalueLink.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ Extension { #name : #FMSlotMultivalueLink }
FMSlotMultivalueLink >> add: newEntity after: entity [

slot add: newEntity to: owner.
values add: newEntity after: entity
super add: newEntity after: entity
]

{ #category : #'*FASTRefactor' }
FMSlotMultivalueLink >> add: newEntity before: entity [

slot add: newEntity to: owner.
values add: newEntity before: entity
super add: newEntity before: entity
]

{ #category : #'*FASTRefactor' }
FMSlotMultivalueLink >> replace: oldEntity with: newEntity [

slot remove: oldEntity from: owner.
slot add: newEntity to: owner.
values at: (values indexOf: oldEntity) put: newEntity
self at: (self indexOf: oldEntity) put: newEntity
]

0 comments on commit e995334

Please sign in to comment.