Skip to content

Commit

Permalink
Merge pull request #850 from moosetechnology/optimize-moosenamewithdots
Browse files Browse the repository at this point in the history
Optimize `mooseNameWithDots`
  • Loading branch information
Gabriel-Darbord authored Oct 30, 2024
2 parents 345514a + 119bf8e commit cf40294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Famix-Java-Entities/FamixJavaContainerEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,7 @@ FamixJavaContainerEntity >> addInterface: anInterface [

{ #category : #'Famix-Java' }
FamixJavaContainerEntity >> mooseNameWithDots [
^ self mooseName ifNotNil: [ :mName | '.' join: (mName substrings: '::') ]

^ self mooseName ifNotNil: [ :mName |
mName copyReplaceAll: '::' with: '.' ]
]

0 comments on commit cf40294

Please sign in to comment.