#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sun, 08 Sep 2019 16:00:39 +0200
changeset 4495 5f69b603bac0
parent 4494 51376091ab9e
child 4496 fd2a558f071f
#REFACTORING by exept class: HTMLDocGenerator changed: #printOutHTMLMethodProtocol:on:showClassName:classRef:picturePath: (send #argumentCount instead of #numArgs) class: HTMLDocGenerator class changed: #htmlForMethod: (send #argumentCount instead of #numArgs)
HTMLDocGenerator.st
--- a/HTMLDocGenerator.st	Sun Sep 08 15:58:59 2019 +0200
+++ b/HTMLDocGenerator.st	Sun Sep 08 16:00:39 2019 +0200
@@ -553,7 +553,7 @@
         argStream := args readStream.
 
         methodSpecLine := ''. 
-        1 to:sel numArgs do:[:index |
+        1 to:sel argumentCount do:[:index |
             methodSpecLine size ~~ 0 ifTrue:[
                 methodSpecLine := methodSpecLine , ' '
             ].
@@ -2009,7 +2009,7 @@
                 comment := '<I>(comment from inherited method)</I><BR>' , comment.
             ].
             "/ make argument names italic in the comment
-            aMethod numArgs > 0 ifTrue:[    
+            aMethod argumentCount > 0 ifTrue:[    
                 (aMethod methodArgNames ? #()) do:[:each |
                     comment := comment copyReplaceString:each withString:'<I>',each,'</I>' 
                 ].