code cleanup
authorClaus Gittinger <cg@exept.de>
Sat, 14 Feb 2015 03:44:16 +0100
changeset 15292 bd889ce17f57
parent 15291 fbdf542a45b3
child 15293 6d8bbfd2f7e1
code cleanup
Tools__LintAnnotation.st
--- a/Tools__LintAnnotation.st	Fri Feb 13 23:44:30 2015 +0100
+++ b/Tools__LintAnnotation.st	Sat Feb 14 03:44:16 2015 +0100
@@ -76,15 +76,15 @@
 
     rule notNil ifTrue:[
         rule isComposite ifTrue:[
-            info := Character cr ,
-                    ((rule rules collect:[:each | aView resources string:each infoInToolTip] as:Set)
-                        asStringCollection asStringWith:Character cr). 
+            info := ((rule rules 
+                        collect:[:each | '- ',(aView resources string:each infoInToolTip)] as:Set)
+                            asStringCollection asStringWith:Character cr). 
         ] ifFalse:[
             info := aView resources string:rule infoInToolTip
         ].
 
         ^ aView resources 
-                stringWithCRs:'Lint says: %1' "/ 'Lint says: %1\Click for more info.' 
+                stringWithCRs:'Lint says:\%1' "/ 'Lint says: %1\Click for more info.' 
                 with:info.
     ].
     ^ nil
@@ -107,10 +107,10 @@
 !LintAnnotation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintAnnotation.st,v 1.4 2015-01-23 12:52:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintAnnotation.st,v 1.5 2015-02-14 02:44:16 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintAnnotation.st,v 1.4 2015-01-23 12:52:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintAnnotation.st,v 1.5 2015-02-14 02:44:16 cg Exp $'
 ! !