Skip to content

Commit

Permalink
Fixed OPNoShape returning arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Nov 23, 2024
1 parent 0cc62c7 commit bbdac18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion repository/OpenPonk-Core/OPDiagramElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ OPDiagramElement >> resolveAllModelElements: aCollection [

| success |
success := self resolveModelElements: aCollection.
self ownedElements: (self ownedElements select: [ :each |
self ownedElements removeAll: (self ownedElements reject: [ :each |
each resolveAllModelElements: aCollection ]).
^ success
]
Expand Down
6 changes: 3 additions & 3 deletions repository/OpenPonk-Core/OPNoShape.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ OPNoShape >> ownedElement: anOPPetriNetPTPlaceShape willRenderIn: aRSCanvas [
{ #category : 'accessing' }
OPNoShape >> ownedElements [

^ #( )
^ OrderedCollection empty
]

{ #category : 'introspection' }
Expand Down Expand Up @@ -139,13 +139,13 @@ OPNoShape >> sharedStyle [
{ #category : 'accessing' }
OPNoShape >> sourceEdges [

^ #( )
^ OrderedCollection empty
]

{ #category : 'accessing' }
OPNoShape >> targetEdges [

^ #( )
^ OrderedCollection empty
]

{ #category : 'subscription' }
Expand Down

0 comments on commit bbdac18

Please sign in to comment.