#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Tue, 03 May 2016 20:33:59 +0200
changeset 19694 974f6b10c7b5
parent 19693 e7de1d102b32
child 19695 d1f2392c58a5
child 19696 73fc33e82700
#REFACTORING by cg class: Autoload changed: #handle:do: (send #selector:argument:argument: instead of #selector:with:with:) #readFrom:onError: (send #selector:argument:argument: instead of #selector:with:with:) #readFromString:onError: (send #selector:argument:argument: instead of #selector:with:with:)
Autoload.st
--- a/Autoload.st	Tue May 03 20:33:26 2016 +0200
+++ b/Autoload.st	Tue May 03 20:33:59 2016 +0200
@@ -608,7 +608,9 @@
 !
 
 handle:handler do:aBlock
-    ^ self doesNotUnderstand:(Message selector:#handle:do: with:handler with:aBlock)
+    "autoload the class and resend"
+
+    ^ self doesNotUnderstand:(Message selector:#handle:do: argument:handler argument:aBlock)
 !
 
 isAbstract
@@ -651,7 +653,7 @@
 readFrom:aStream onError:exceptionBlock
     "catch  - load the class and send it to the real one"
 
-    ^ self doesNotUnderstand:(Message selector:#readFrom:onError: with:aStream with:exceptionBlock)
+    ^ self doesNotUnderstand:(Message selector:#readFrom:onError: argument:aStream argument:exceptionBlock)
 
     "Created: 22.5.1996 / 23:03:39 / stefan"
 !
@@ -667,7 +669,7 @@
 readFromString:aString onError:exceptionBlock
     "catch  - load the class and send it to the real one"
 
-    ^ self doesNotUnderstand:(Message selector:#readFromString:onError: with:aString with:exceptionBlock)
+    ^ self doesNotUnderstand:(Message selector:#readFromString:onError: argument:aString argument:exceptionBlock)
 
     "Created: 22.5.1996 / 23:04:49 / stefan"
 !