#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Mon, 23 Jul 2018 19:27:25 +0200
changeset 5835 bd5df6d0ae2b
parent 5834 6c250feb2272
child 5836 a4df3add8038
#REFACTORING by stefan class: HierarchicalFileList changed: #matchBlock: #sortBlock: use #criticalDo:
HierarchicalFileList.st
--- a/HierarchicalFileList.st	Mon Jul 23 19:26:59 2018 +0200
+++ b/HierarchicalFileList.st	Mon Jul 23 19:27:25 2018 +0200
@@ -251,12 +251,14 @@
     matchBlock := aBlock.
 
     root notNil ifTrue:[
-        self recursionLock critical:[
+        self criticalDo:[
             self stopMonitoringTask.
             root matchBlockChanged.
         ].
         self startMonitoringTask.
     ].
+
+    "Modified: / 23-07-2018 / 13:24:06 / Stefan Vogel"
 !
 
 sortBlock
@@ -286,12 +288,14 @@
     sortBlock := aBlock.
 
     root notNil ifTrue:[
-        self recursionLock critical:[
+        self criticalDo:[
             self stopMonitoringTask.
             root recursiveSort:aBlock.
         ].
         self startMonitoringTask.
     ].
+
+    "Modified: / 23-07-2018 / 13:24:17 / Stefan Vogel"
 ! !
 
 !HierarchicalFileList methodsFor:'private-monitoring task'!