From 3ac99bb0ce1383e72529bb4802e66e51521529b6 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Fri, 17 May 2024 16:13:35 +0200 Subject: [PATCH] Fix deprecated call --- src/Microdown-RichTextComposer/MicSemanticAction.class.st | 2 +- src/Microdown-RichTextComposer/MicrodownParser.extension.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microdown-RichTextComposer/MicSemanticAction.class.st b/src/Microdown-RichTextComposer/MicSemanticAction.class.st index 63237749..8db6e33d 100644 --- a/src/Microdown-RichTextComposer/MicSemanticAction.class.st +++ b/src/Microdown-RichTextComposer/MicSemanticAction.class.st @@ -134,7 +134,7 @@ MicSemanticAction >> getMetaClassOrNil [ { #category : 'instance creation' } MicSemanticAction >> getPackageOrNil [ - entity := RPackageOrganizer default packageNamed: tokens first asString ifAbsent: [ nil ]. + entity := self class packageOrganizer packageNamed: tokens first asString ifAbsent: [ nil ]. ^ entity ] diff --git a/src/Microdown-RichTextComposer/MicrodownParser.extension.st b/src/Microdown-RichTextComposer/MicrodownParser.extension.st index 40f674c8..ca23a5a9 100644 --- a/src/Microdown-RichTextComposer/MicrodownParser.extension.st +++ b/src/Microdown-RichTextComposer/MicrodownParser.extension.st @@ -1,6 +1,6 @@ Extension { #name : 'MicrodownParser' } { #category : '*Microdown-RichTextComposer' } -MicrodownParser classSide >> convertToRichText: aString [ +MicrodownParser class >> convertToRichText: aString [ ^ MicRichTextComposer new visit: (self new parse: aString) ]