File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,10 @@ FamixTComment >> moveMatch: otherEntity resolver: resolver [
3535FamixTComment >> renameMatch: otherEntity resolver: resolver [
3636 " we consider a 'RenameMatch' between 2 comments if there is 'not too much' differences in their texts"
3737
38- ((otherEntity usesFamixTrait: FamixTComment ) and :
39- [ self content ~= otherEntity content ])
40- ifFalse: [ ^ false ].
38+ ((otherEntity usesFamixTrait: FamixTComment ) and : [ self sourceText ~= otherEntity sourceText ]) ifFalse: [ ^ false ].
4139
4240 " See comment in #identityMatch:resolver: to understand what we are doing here"
43- ^ self isRenameOf: otherEntity resolver: resolver
41+ ^ self isRenameOf: otherEntity resolver: resolver
4442]
4543
4644{ #category : #' *Famix-Diff-Core' }
You can’t perform that action at this time.
0 commit comments