Diff2.st
changeset 14903 f0d17117b5e9
parent 14840 6cc4674bfd18
child 15566 184cea584be5
child 16949 3b46d0b33f15
--- a/Diff2.st	Mon Nov 24 15:13:27 2014 +0100
+++ b/Diff2.st	Mon Nov 24 15:15:56 2014 +0100
@@ -242,9 +242,12 @@
 !Diff2 methodsFor:'private'!
 
 addCommonBlock: aSubCollection ifNonEmptyTo: aCollection
-	^ aSubCollection isEmpty
-		ifFalse: [aCollection add: #common -> aSubCollection asArray. OrderedCollection new]
-		ifTrue: [aSubCollection]
+        aSubCollection isEmpty ifTrue:[
+            ^ aSubCollection
+        ] ifFalse: [
+            aCollection add: #common -> aSubCollection asArray. 
+            ^ OrderedCollection new.
+        ]
 !
 
 emptyCaches
@@ -838,10 +841,10 @@
 !Diff2 class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Diff2.st,v 1.4 2014-11-18 18:12:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Diff2.st,v 1.5 2014-11-24 14:15:56 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Diff2.st,v 1.4 2014-11-18 18:12:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Diff2.st,v 1.5 2014-11-24 14:15:56 cg Exp $'
 ! !