#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Wed, 12 Oct 2016 19:17:11 +0200
changeset 4111 d2e51602faf4
parent 4110 34099e62e323
child 4112 6567e3778a4c
#REFACTORING by cg class: BTree
BTree.st
--- a/BTree.st	Wed Oct 12 19:16:13 2016 +0200
+++ b/BTree.st	Wed Oct 12 19:17:11 2016 +0200
@@ -704,9 +704,9 @@
 
 commonKeysWith: aNode keysAndValuesDo: aBlock flip: aBoolean
         | index key block leaf advanceKey last |
-        block := aBoolean 
-                    ifTrue: [ [:k :v1 :v2 | aBlock value: k value: v2 value: v1] ] 
-                    ifFalse: [ aBlock ].
+        aBoolean 
+             ifTrue: [ block := [:k :v1 :v2 | aBlock value: k value: v2 value: v1] ] 
+             ifFalse: [ block := aBlock ].
 
         index := 0.
         advanceKey :=
@@ -895,6 +895,10 @@
 
 !BTree class methodsFor:'documentation'!
 
+version
+    ^ '$Header$'
+!
+
 version_CVS
     ^ '$Header$'
 ! !