File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ XMLNode >> inspectTreeIn: specBuilder [
18
18
^ specBuilder newTree
19
19
roots: roots;
20
20
display: [ :aNode | self inspectorTreeStringFor: aNode ];
21
- " displayIcon: [ :aNode | aNode iconName ifNotNil: [ :aName | self iconNamed: aName ] ];"
21
+ " displayIcon: [ :aNode | aNode iconName ifNotNil: [ :aName | self iconNamed: aName ] ];"
22
22
children: [ :aNode | aNode elements ];
23
23
expandRoots
24
24
]
@@ -38,14 +38,12 @@ XMLNode >> inspectorTreeStringFor: anXMLElement [
38
38
nextPut: $< ;
39
39
nextPutAll: anXMLElement name.
40
40
anXMLElement hasAttributes ifTrue: [
41
- s space.
42
- anXMLElement attributes associations
43
- do: [ :association |
44
- s
45
- nextPutAll: association key;
46
- nextPutAll: ' ="' ;
47
- nextPutAll: association value;
48
- nextPutAll: ' "' ]
49
- separatedBy: [ s space ] ].
41
+ anXMLElement attributes associations do: [ :association |
42
+ s
43
+ space;
44
+ nextPutAll: association key;
45
+ nextPutAll: ' ="' ;
46
+ nextPutAll: association value;
47
+ nextPutAll: ' "' ] ].
50
48
s nextPut: $> ]
51
49
]
You can’t perform that action at this time.
0 commit comments