#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Tue, 15 Oct 2019 17:17:45 +0200
changeset 24836 caa5c31f33aa
parent 24835 9612a07ed3c2
child 24837 efa5bb751e6f
#BUGFIX by stefan class: ReadWriteStream added: #isEmpty isEmpty didn't work when reading
ReadWriteStream.st
--- a/ReadWriteStream.st	Tue Oct 15 15:35:45 2019 +0200
+++ b/ReadWriteStream.st	Tue Oct 15 17:17:45 2019 +0200
@@ -176,6 +176,14 @@
 
 !ReadWriteStream methodsFor:'queries'!
 
+isEmpty
+    "redefinde from WriteStream"
+
+    ^ self size == 0
+
+    "Created: / 15-10-2019 / 17:15:09 / Stefan Vogel"
+!
+
 isReadable 
     "return true if the receiver supports reading - that's true"