Skip to content

Commit

Permalink
remove call to clone that seems useless looking at tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed May 2, 2024
1 parent bc1c92a commit 4ff2cc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Famix2Java/FAMIX2JavaVisitor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ FAMIX2JavaVisitor >> visitClass: aClass [
aClass attributes ifNotEmpty: [ :attributes |
self eol.
attributes do: [ :attribute |
attribute accept: self clone.
attribute accept: self.
self eol ] ].
"Printing Methods"
aClass methods ifNotEmpty: [ :methods |
methods do: [ :method |
self eol.
method accept: self clone.
method accept: self.
self eol ] ].
"Closing Class"
self eol.
Expand Down

0 comments on commit 4ff2cc6

Please sign in to comment.