Object >> #newInspector2Tab
authorStefan Vogel <sv@exept.de>
Fri, 02 Dec 2016 13:27:04 +0100
changeset 17128 c3284e91065f
parent 17127 ddc52a770246
child 17129 c3f6d259e84c
Object >> #newInspector2Tab
extensions.st
--- a/extensions.st	Thu Dec 01 15:06:30 2016 +0100
+++ b/extensions.st	Fri Dec 02 13:27:04 2016 +0100
@@ -1905,11 +1905,7 @@
     "return an extra tab to be used inside an inspector"
 
     "Use Smalltalk>>at: to trick the dependency detector"
-    "/ why do we need this hack - the Tools::Inspector2Tab class and this
-    "/ extension are in the same package anyway?!!
-    ^(Smalltalk at: #'Tools::Inspector2Tab') 
-        ifNil:[self error:'Inspector2 not available!! Something is rotten...']
-        ifNotNil:[(Smalltalk at: #'Tools::Inspector2Tab') new]
+     ^ Smalltalk at: #'Tools::Inspector2Tab' new.
 ! !
 
 !OrderedCollection methodsFor:'misc ui support'!