#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:)
--- 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"
!