From 34a58829e16f539927dc660ffd1ffd0f2b05f610 Mon Sep 17 00:00:00 2001 From: Pierre Laborde Date: Fri, 8 Mar 2024 14:28:51 +0100 Subject: [PATCH] Remove isLeaf --- .../TToElementWithPlaceholder.extension.st | 7 ------- src/Toplo-Serialization/ToElement.extension.st | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/Toplo-Serialization/TToElementWithPlaceholder.extension.st b/src/Toplo-Serialization/TToElementWithPlaceholder.extension.st index 7cafda9..43f8369 100644 --- a/src/Toplo-Serialization/TToElementWithPlaceholder.extension.st +++ b/src/Toplo-Serialization/TToElementWithPlaceholder.extension.st @@ -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 [ diff --git a/src/Toplo-Serialization/ToElement.extension.st b/src/Toplo-Serialization/ToElement.extension.st index 3de1ec9..0b9174a 100644 --- a/src/Toplo-Serialization/ToElement.extension.st +++ b/src/Toplo-Serialization/ToElement.extension.st @@ -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."