# HG changeset patch # User Claus Gittinger # Date 1479583188 -3600 # Node ID 3022947965d6ed207c054598a427bcc77a5f520d # Parent f8976cddeecfd9ef8e919d1047d08d56df1a7bf8 #REFACTORING by cg class: MenuEditor changed: #hasValidSpecClass diff -r f8976cddeecf -r 3022947965d6 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