#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Sat, 19 Nov 2016 20:19:48 +0100
changeset 3353 3022947965d6
parent 3352 f8976cddeecf
child 3354 05ab9a73a9a6
#REFACTORING by cg class: MenuEditor changed: #hasValidSpecClass
MenuEditor.st
--- a/MenuEditor.st	Fri Nov 18 12:20:13 2016 +0100
+++ b/MenuEditor.st	Sat Nov 19 20:19:48 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
@@ -2507,11 +2505,10 @@
 hasValidSpecClass
     "returns true if a valid specClass exists
     "
-    |cls|
-
     specClass isNil ifTrue:[^ false].
-    cls := self resolveName:specClass.
-    ^ cls notNil
+    ^ (self resolveName:specClass) notNil
+
+    "Modified: / 19-11-2016 / 20:19:30 / cg"
 !
 
 isEditingSpecOnly