class: Tools::MethodList
authorClaus Gittinger <cg@exept.de>
Sat, 29 Nov 2014 19:12:21 +0100
changeset 14958 7012d57bddc6
parent 14957 0ca974e20487
child 14959 b92ba3696c7f
class: Tools::MethodList changed: #update:with:from: oops - update if trap changes back to unwrapped.
Tools__MethodList.st
--- a/Tools__MethodList.st	Sat Nov 29 08:52:38 2014 +0100
+++ b/Tools__MethodList.st	Sat Nov 29 19:12:21 2014 +0100
@@ -786,7 +786,7 @@
 !
 
 update:something with:aParameter from:changedObject
-    |cls clsName sel mthd mustFlushInheritanceInfo methodIsShown|
+    |cls clsName sel mthd mustFlushInheritanceInfo|
 
     mustFlushInheritanceInfo := true.
 
@@ -836,7 +836,6 @@
             cls := aParameter at:1.
             (classes includesIdentical:cls) ifFalse:[ ^ self].
 
-            methodIsShown := false.
             sel := aParameter at:2.
             mthd := cls compiledMethodAt:sel.
             (mthd notNil and:[mthd isWrapped or:[mthd isMethodWithBreakpoints]]) ifTrue:[
@@ -844,16 +843,12 @@
 
                 original := mthd originalMethod.
                 (methodList includesIdentical:original) ifTrue:[
-                    methodIsShown := true.
                     methodList replaceAll:original with:mthd.
                     lastSelectedMethods notNil ifTrue:[
                         lastSelectedMethods replaceAll:original with:mthd.
                     ].
                 ]
-            ] ifFalse:[
-                methodIsShown := (methodList includesIdentical:mthd).
             ].
-            methodIsShown ifFalse:[^ self].
 
             self window shown ifFalse:[
                 "JV@2011-11-17: Do not break the dependency here,
@@ -1906,10 +1901,10 @@
 !MethodList class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodList.st,v 1.108 2014-11-20 14:49:41 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodList.st,v 1.109 2014-11-29 18:12:21 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodList.st,v 1.108 2014-11-20 14:49:41 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodList.st,v 1.109 2014-11-29 18:12:21 cg Exp $'
 ! !