UIPainter.st
changeset 3368 a0ef44e63e6f
parent 3361 4bd3866a0f40
child 3386 5baabc41e189
child 3391 a23601cc0b03
--- a/UIPainter.st	Tue Jan 03 15:00:15 2017 +0100
+++ b/UIPainter.st	Tue Jan 03 15:04:47 2017 +0100
@@ -5950,14 +5950,13 @@
 
     aspectList := OrderedCollection new.
 
-    self painter aspectSelectorsAndTypesDo:
-        [:selector :type |
+    self painter aspectSelectorsAndTypesDo:[:selector :type |
             |newEntry|
 
             ( #(#modelAspect channelAspect actionSelector valueSelector) includes:type) ifTrue:[
                 ((cls canUnderstand:selector) or:[cls class canUnderstand:selector]) ifFalse:[
                     newEntry := Array with:selector with:type.    
-                    (aspectList contains:[:entry | entry = newEntry]) ifFalse:[    
+                    (aspectList includes:newEntry) ifFalse:[    
                         aspectList add:newEntry.
                     ]
                 ]