[squeak-dev] Project class >> #makeExistingView:project:projectsToBeDeleted:

Frank Shearar frank.shearar at gmail.com
Mon Jun 3 18:09:47 UTC 2013


I just found this method. It contains this snippet:

Smalltalk isMorphic ifTrue: [
    proj createViewIfAppropriate.
] ifFalse: [
    ChangeSorter allChangeSets add: proj changeSet.
    ProjectView openAndEnter: proj.
    "Note: in MVC we get no further than the above"
].

Wouldn't that be better written by implementing

MVCProject >> #createViewIfAppropriate
    ChangeSorter allChangeSets add: proj changeSet.
    ProjectView openAndEnter: proj.

and ripping out the #isMorphic call?

frank


More information about the Squeak-dev mailing list