changed:
authorClaus Gittinger <cg@exept.de>
Tue, 05 Jul 2011 11:31:51 +0200
changeset 10153 c8677bcfda56
parent 10152 561883853228
child 10154 33dbd5375c02
changed: #templateReplaceIfNilByIsNilIfTrue #templateReplaceIsNilOrEmptyCollectionByIsEmptyOrNil
Tools__MethodRewriter.st
--- a/Tools__MethodRewriter.st	Tue Jul 05 11:13:17 2011 +0200
+++ b/Tools__MethodRewriter.st	Tue Jul 05 11:31:51 2011 +0200
@@ -95,8 +95,8 @@
 
     ^Array 
         with:('Replace ','ifNil:' allBold,' by ','isNil ifTrue:' allBold)
-        with: '@receiver ifNil: @block'
-        with: '@receiver isNil ifTrue: @block'''
+        with: '``@receiver ifNil: ``@block'
+        with: '``@receiver isNil ifTrue: ``@block'
 
     "Created: / 04-07-2011 / 19:25:06 / cg"
 !
@@ -105,8 +105,8 @@
 
     ^Array 
         with:('Replace ','isNilOrEmptyCollection' allBold,' by ','isEmptyOrNil' allBold)
-        with: '@receiver isNilOrEmptyCollection'
-        with: '@receiver isEmptyOrNil'''
+        with: '``@receiver isNilOrEmptyCollection'
+        with: '``@receiver isEmptyOrNil'''
 
     "Created: / 03-07-2011 / 21:59:47 / cg"
 !
@@ -1046,7 +1046,7 @@
 !MethodRewriter class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodRewriter.st,v 1.11 2011-07-04 17:26:23 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodRewriter.st,v 1.12 2011-07-05 09:31:51 cg Exp $'
 !
 
 version_SVN