<div dir="ltr"><div>Hi!<br><br></div><div>I attach two independent changes.<br><br>A first one to remove some duplicated code for #defineClass:notifying: in Browser and HierarchyBrowser (I extracted a new message to be able to just add the difference).</div><div><br></div><div>A second one, to remove the duplication in #removeMessageCategory in Browser and CodeFileBrowser, but which I'm not sure about and needs more explanation (which is below).<br><br></div><div>The differences in #removeMessageCategory in Browser and CodeFileBrowser are:</div><div><ul><li>that Browser <i>always</i> sends changed: #messageCategoryList (which I guess is harmless?), and</li><li>CodeFileBrowser <i>does not</i> send changed: #classSelectionChanged.</li></ul></div><div>But if we check the senders of #classSelectionChanged, we see it's only used in the context of #changed:, but no object seems to be listening to that change. If that's the case, then we can remove all usages of #classSelectionChanged and then remove the CodeFileBrowser>>#removeMessageCategory method (so CodeFileBrowser inherits the one from Browser). And that's what's done in the second change set.<br><br></div><div>Cheers!<br></div><div>Facu</div></div>