#OTHER by stefan
authorStefan Vogel <sv@exept.de>
Fri, 30 Sep 2016 16:48:16 +0200
changeset 3330 76129ae4dadd
parent 3329 a5fcdace63ba
child 3331 7b33bd507e1c
#OTHER by stefan Use (*WriteStream on:'') instead of (*WriteStream on:String new)
TabListEditor.st
--- a/TabListEditor.st	Fri Sep 30 16:47:59 2016 +0200
+++ b/TabListEditor.st	Fri Sep 30 16:48:16 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by eXept Software AG
               All Rights Reserved
@@ -11,6 +13,8 @@
 "
 "{ Package: 'stx:libtool2' }"
 
+"{ NameSpace: Smalltalk }"
+
 ResourceSpecEditor subclass:#TabListEditor
 	instanceVariableNames:'listOfTabs'
 	classVariableNames:''
@@ -1641,17 +1645,15 @@
 
     |cls code spec category package mthd list|
 
-    (specClass notNil and:[specSelector notNil])
-    ifFalse:
-    [
-        ^self doSaveAs
+    (specClass notNil and:[specSelector notNil]) ifFalse:[
+        ^ self doSaveAs
     ].
 
     cls := self resolveName: specClass.
 
     listOfTabs isEmpty ifTrue:[^self information:'No tab list defined!!'].
 
-    spec  := WriteStream on:String new.
+    spec  := WriteStream on:''.
     list := Array new:(listOfTabs size).
     listOfTabs keysAndValuesDo:[:i :el|list at:i put:(el literalArrayEncoding)].