[squeak-dev] [BUG?]SMSimpleInstaller>>fileIntoChangeSetNamed:fromStream:

Tobias Pape Das.Linux at gmx.de
Mon Jan 12 10:39:57 UTC 2015


Hi

On 12.01.2015, at 11:09, Trygve Reenskaug <trygver at ifi.uio.no> wrote:

> SMSimpleInstaller>>fileIntoChangeSetNamed: aString fromStream: stream
>     "We let the user confirm filing into an existing ChangeSet
>     or specify another ChangeSet name if
>     the name derived from the filename already exists."
>     | changeSet newName oldChanges global |
>     newName := aString.
>     changeSet := SMInstaller changeSetNamed: newName.
>     changeSet ifNotNil: [
>         newName := self silent ifNil: [UIManager default
>                                     request: 'ChangeSet already present, just confirm to overwrite or enter a new name:' 
>                                     initialAnswer: newName]
>                         ifNotNil: [newName].
>     ++++++
> 
> AFAICS, 'self silent' cannot return nil, it always returns a boolan.

you're right :)
Care to put a fixed version into the inbox?
	http://source.squeak.org/inbox.html

Best
	-Tobia


More information about the Squeak-dev mailing list