#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Wed, 08 Feb 2017 19:41:27 +0100
changeset 17373 62c44bf0d8d5
parent 17372 902487791641
child 17374 b5dded40c579
#REFACTORING by stefan class: WorkspaceApplication changed: #compilerClassOf: refactor return with exception handler
WorkspaceApplication.st
--- a/WorkspaceApplication.st	Wed Feb 08 09:11:17 2017 +0100
+++ b/WorkspaceApplication.st	Wed Feb 08 19:41:27 2017 +0100
@@ -4231,13 +4231,12 @@
 !
 
 compilerClassOf:aWorkspace
-    |compilerClass|
-
-    [    
+    ^ [    
         "/ catch, because it could be a non-edit view there (VT100, TeaTimer etc.)
-        compilerClass := aWorkspace compilerClass. 
-    ] on:MessageNotUnderstood do:[].
-    ^ compilerClass
+        aWorkspace compilerClass. 
+    ] on:MessageNotUnderstood do:[nil].
+
+    "Modified: / 08-02-2017 / 19:26:00 / stefan"
 !
 
 createEvaluationWorkspace