ChangeSet current: return empty collection if there is no changeSet
authorClaus Gittinger <cg@exept.de>
Wed, 23 Aug 2000 16:03:20 +0200
changeset 959 ca4fff926135
parent 958 6bc25cd82843
child 960 9b0994b92e10
ChangeSet current: return empty collection if there is no changeSet
ChangeSet.st
--- a/ChangeSet.st	Tue Aug 22 23:02:22 2000 +0200
+++ b/ChangeSet.st	Wed Aug 23 16:03:20 2000 +0200
@@ -524,8 +524,9 @@
     |p|
 
     (Project notNil and:[(p := Project current) notNil]) ifTrue:[
-	^ p changeSet
-    ]
+        ^ p changeSet
+    ].
+    ^ #()
 
     "
      ChangeSet current 
@@ -878,5 +879,5 @@
 !ChangeSet class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic3/ChangeSet.st,v 1.52 2000-08-22 11:10:06 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/ChangeSet.st,v 1.53 2000-08-23 14:03:20 cg Exp $'
 ! !