#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Mon, 09 Oct 2017 17:42:15 +0200
changeset 17702 1080c40947eb
parent 17701 6ba7bc49f960
child 17703 839e6a6e0d32
#REFACTORING by stefan class: Tools::SmalltalkDiffTool changed: #selectionChanged (send #anElement instead of #anyOne)
Tools__SmalltalkDiffTool.st
--- a/Tools__SmalltalkDiffTool.st	Mon Oct 09 12:29:55 2017 +0200
+++ b/Tools__SmalltalkDiffTool.st	Mon Oct 09 17:42:15 2017 +0200
@@ -670,12 +670,9 @@
 !
 
 selectionChanged
-
-    self showVersionsFor: 
-        (self selection size = 1 ifTrue:[self selection anyOne] ifFalse:[nil])
-
-    "Created: / 19-04-2008 / 12:57:21 / Jan Vrany <vranyj1@fel.cvut.cz>"
-    "Modified: / 21-10-2008 / 09:31:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    self showVersionsFor:(self selection size = 1 ifTrue:[
+                self selection anElement
+            ] ifFalse:[ nil ])
 ! !
 
 !SmalltalkDiffTool methodsFor:'hooks'!