j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
This bug report is for Squeak 3.7 gamma latest update: #5987 (both for the basic image and for the full image)
In the class protocol of ParagraphEditor we read
* in method new:
new "Answer a new instance of me with a null Paragraph to be edited."
| aParagraphEditor | aParagraphEditor _ super new. " --> " aParagraphEditor initialize. " < -- " aParagraphEditor changeParagraph: '' asParagraph. ^aParagraphEditor
* in method newParagraph:
newParagraph: aParagraph "Answer an instance of me with aParagraph as the text to be edited."
| aParagraphEditor | aParagraphEditor _ super new. " --> " aParagraphEditor initialize. " <-- " aParagraphEditor changeParagraph: aParagraph. ^aParagraphEditor
The statements aParagraphEditor initialize (labelled with comments by me) are not needed any more, as initialization is called when super new is evaluated.
The attached change set is a proposal to remove the unneeded second initialization.
This is not a serious bug, but I think it it a bug nevertheless.
Greetings, Boris
Attachments:
squeak-dev@lists.squeakfoundation.org