issues
search
pharo-contributions
/
XML-XMLParser
XML Parser for Pharo
MIT License
11
stars
17
forks
source link
Cleanup: deprecate #notEmpty and use #isNotEmpty
#26
Closed
astares
closed
1 year ago
astares
commented
1 year ago
Checking if a collection is not empty is a "testing" method and should start with "is...."
so instead of #notEmpty we should use #isNotEmpty and deprecate #notEmpty with a transformation
Examples:
in DTDResolvedExternalParsedEntityReplacement>>#notEmpty
XMLKeyValueCache>>#notEmpty
XMLString>>#notEmpty
XMLURI>>#notEmpty
Examples: