#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 15 Feb 2019 09:43:55 +0100
changeset 4401 414d2875e720
parent 4400 aeafd5d622d7
child 4402 799e4a103839
#REFACTORING by cg class: CVSSourceCodeManager class changed: #pathesForClasses:
CVSSourceCodeManager.st
--- a/CVSSourceCodeManager.st	Fri Feb 15 09:37:21 2019 +0100
+++ b/CVSSourceCodeManager.st	Fri Feb 15 09:43:55 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
               All Rights Reserved
@@ -4244,7 +4246,7 @@
                     |info path answer|
 
                     cls isLoaded ifFalse:[
-                        Transcript showCR:('Cannot handle unloaded class: %1.' bindWith:cls name).
+                        Transcript showCR:'Cannot handle unloaded class: %1.' with:cls name.
                         alreadyWarned == 0 ifTrue:[
                             Dialog warn:('Cannot handle unloaded class: %1.' bindWith:cls name).
                             alreadyWarned := alreadyWarned + 1.
@@ -4261,12 +4263,12 @@
                     ] ifTrue:[
                         info := self sourceInfoOfClass:cls.
                         info isNil ifTrue:[
-                            Dialog warn:('No source info for: %1 (not in repository?)' bindWith:cls name).
+                            Dialog warn:'No source info for: %1 (not in repository?)' with:cls name.
                             nil
                         ] ifFalse:[
                             path := info at:#pathInRepository ifAbsent:nil.
                             path isNil ifTrue:[
-                                Dialog warn:('No source info for: %1 (not in repository?)' bindWith:cls name).
+                                Dialog warn:'No source info for: %1 (not in repository?)' with:cls name.
                             ].
                             path
                         ].
@@ -4276,6 +4278,7 @@
     ^ paths
 
     "Created: / 04-12-2017 / 18:48:30 / cg"
+    "Modified: / 15-02-2019 / 09:42:02 / Claus Gittinger"
 !
 
 removeContainer:fileName inModule:moduleDir directory:packageDir
@@ -4633,17 +4636,17 @@
             "/ The repair code will be removed at some time in the future...
 
             "/ temporary fix Felix' bad string translation:
-            (aString startsWith:'§Header:') ifTrue:[
-                (aString endsWith:'Exp §') ifTrue:[
+            (aString startsWith:'§Header:') ifTrue:[
+                (aString endsWith:'Exp §') ifTrue:[
                     fixedString := '$' , (aString copyFrom:3 to:(aString size - 2)) , '$'.
 
                     aClass isNil ifTrue:[
                         autoFixHolder value ifFalse:[
-                            Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'.
+                            Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'.
                         ]
                     ] ifFalse:[
                         (autoFixHolder value 
-                            or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ]
+                            or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ]
                         ) ifTrue:[
                             self updateVersionMethodOf:aClass for:fixedString.
                         ].
@@ -4651,7 +4654,7 @@
                 ].
             ].
 
-            "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed):
+            "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed):
             (aString startsWith:'Header: ') ifTrue:[
                 (aString endsWith:'Exp ') ifTrue:[
                     fixedString := '$' , aString , '$'.
@@ -5981,7 +5984,7 @@
     "/ $-Revision: rev $
     "/ $-Id:       fileName rev date time user state $
     "/
-    (firstWord = '$Header:' or:[firstWord = '§Header:']) ifTrue:[
+    (firstWord = '$Header:' or:[firstWord = '§Header:']) ifTrue:[
         d := firstWord first.
         s skipSeparators.
         nm := s throughAll:',v '.
@@ -6011,12 +6014,12 @@
         ^ info
     ].
 
-    (firstWord = '$Revision:' or:[firstWord = '§Revision:']) ifTrue:[
+    (firstWord = '$Revision:' or:[firstWord = '§Revision:']) ifTrue:[
         info revision:(s upToEnd asCollectionOfWords first).
         ^ info
     ].
 
-    (firstWord = '$Id:' or:[firstWord = '§Id:']) ifTrue:[
+    (firstWord = '$Id:' or:[firstWord = '§Id:']) ifTrue:[
         "/commented out by Jan Vrany, 2009/10/20
         "/according to http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
         "/svn has no support for $ Header $ expansion. Therefore