class: SelectionInTree
authorClaus Gittinger <cg@exept.de>
Sat, 13 Jul 2013 23:06:39 +0200
changeset 4275 9b7b0a680e70
parent 4274 e9b4c6c68665
child 4276 5f4dca44baed
class: SelectionInTree changed: #selectedNodes
SelectionInTree.st
--- a/SelectionInTree.st	Sat Jul 13 22:36:45 2013 +0200
+++ b/SelectionInTree.st	Sat Jul 13 23:06:39 2013 +0200
@@ -771,8 +771,7 @@
             coll add:node
         ]
     ].
-    ^ coll notEmpty ifTrue:[coll] ifFalse:[nil]
-        
+    ^ coll asNilIfEmpty
 !
 
 selectedNodesDo:aOneArgBlock
@@ -940,9 +939,10 @@
 !SelectionInTree class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.35 2010-02-01 12:20:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.36 2013-07-13 21:06:39 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.35 2010-02-01 12:20:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.36 2013-07-13 21:06:39 cg Exp $'
 ! !
+