stream next different in gemstone

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

stream next different in gemstone

NorbertHartl
Hi,

in gemstone stream next throws an exception if the stream is atEnd. In pharo it returns nil. I changed in

PBBlog>>defaultChildName

        code next
                ifNotNilDo: [ :separator | stream nextPut: separator ] ] ]

to

        code atEnd
                ifFalse: [ stream nextPut: code next ] ] ]

Norbert
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: stream next different in gemstone

Lukas Renggli
Thank you for the fix, I've integrated the change in both Pier 1 and 2.

Lukas

On 6 April 2010 16:00, Norbert Hartl <[hidden email]> wrote:

> Hi,
>
> in gemstone stream next throws an exception if the stream is atEnd. In pharo it returns nil. I changed in
>
> PBBlog>>defaultChildName
>
>        code next
>                ifNotNilDo: [ :separator | stream nextPut: separator ] ] ]
>
> to
>
>        code atEnd
>                ifFalse: [ stream nextPut: code next ] ] ]
>
> Norbert
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki