Skip to content

Commit

Permalink
Remove isLeaf
Browse files Browse the repository at this point in the history
  • Loading branch information
labordep committed Mar 8, 2024
1 parent 5da561b commit 34a5882
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #TToElementWithPlaceholder }

{ #category : #'*Toplo-Serialization' }
TToElementWithPlaceholder >> isLeaf [

self deprecated:'use shouldSerializedChildren with inverted boolean'.
^ false
]

{ #category : #'*Toplo-Serialization' }
TToElementWithPlaceholder >> shouldSerializedChildren [

Expand Down
7 changes: 0 additions & 7 deletions src/Toplo-Serialization/ToElement.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
Extension { #name : #ToElement }

{ #category : #'*Toplo-Serialization' }
ToElement >> isLeaf [

self deprecated:'use shouldSerializedChildren with inverted boolean'.
^ (self class == ToElement) not
]

{ #category : #'*Toplo-Serialization' }
ToElement >> shouldSerializedChildren [
"Toplo elements should not serialize children by default. Manage exeptions in subclasses."
Expand Down

0 comments on commit 34a5882

Please sign in to comment.