#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Mon, 16 May 2016 09:03:53 +0200
changeset 5108 81d4ac73a908
parent 5106 5303d78eb69a
child 5109 18c01df208c2
#REFACTORING by cg class: NoteBookView changed: #drawBorderEdges useless size compare removed (would never be negative)
NoteBookView.st
--- a/NoteBookView.st	Sat May 14 15:23:08 2016 +0200
+++ b/NoteBookView.st	Mon May 16 09:03:53 2016 +0200
@@ -1398,7 +1398,7 @@
         ^ self
     ].
     
-    list size <= 0 ifTrue:[^ self].
+    list isEmptyOrNil ifTrue:[^ self].
 
     true "canvasBorder ~~ 0" ifTrue:[
         self paint:lightColor ? lightColor.