Skip to content

Commit 495586b

Browse files
committed
style improvment
1 parent bdd01e5 commit 495586b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Famix2Java/FAMIX2JavaVisitor.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ FAMIX2JavaVisitor >> printImports: aClass [
132132
flatCollect: [ :method | method annotationInstances ]).
133133
annotationTypes := (annotationInts
134134
collect: [ :ann | ann annotationType ]) asSet.
135-
annotationTypes
135+
(annotationTypes sorted: #fullName ascending)
136136
do: [ :annotType|
137137
self << 'import '.
138138
annotType typeContainer
@@ -142,7 +142,7 @@ FAMIX2JavaVisitor >> printImports: aClass [
142142
<<< annotType name;
143143
<<< ';';
144144
crlf ].
145-
declaredTypes
145+
(declaredTypes sorted: #fullName ascending)
146146
do: [ :class |
147147
self << 'import '.
148148
class fullNamePrintOn: currentStream.

0 commit comments

Comments
 (0)