SONAR-12449 fix code move issue tracking missing some random issues
an initial piece of code of code move heuristic would index issues by line in a MultiMap issues are DefaultIssue objects which hashCode method is based solely on DefaultIssue's key field Multimap implementation used in code move was Set based unfortunately, at this point in time, no DefaultIssue instance have a key set yet which implies that all of them have the same hashcode which implies when stored in the MultiMap for the same key, only one DefaultIssue instance was stored (the first added, which is unpredictable) this change make code move heuristic use List based Multimaps which do not use DefaultIssue's hashcode
Please register or sign in to comment