Closed tsantalis closed 9 months ago
@pouryafard75
I fixed the first problem. The equals
and hashCode
of ExtractVariableRefactoring
should include the references
too.
List<PersistentObject> persistentObjectsToInsert
Variable declaration in L788 &
Variable declaration in L802
should have been a multi-mapping with the parameter in R803
R789 is basically an Inline Variable that comes ONLY from L788
R796 is also an Inline Variable that comes from L802, but in this case there is a Rename Variable on top
clazz
-> persistentObjectClass
Related to #89
https://github.com/thunderbird/thunderbird-android/commit/9d44f0e06232661259681d64002dd53c7c43099d
In L3480, the should be multi-mappings for![Screenshot from 2023-11-30 04-05-38](https://github.com/pouryafard75/RM-ASTDiff/assets/1483516/664c14f1-a494-4bb9-9799-0082e97c18f4)
localFolder.getName()
andgetRootCauseMessage(e)
These are duplicate codes extracted in a common methodnotifySynchronizeMailboxFailed()
On top of the extracted statements, there are two Extract Variable refactorings applied, which introduce sub-expression mappings.https://github.com/Activiti/Activiti/commit/a70ca1d9ad2ea07b19c5e1f9540c809d7a12d3fb A similar scenario takes place of the sub-expression
persistentObjectsToInsert.size() == 1
One of the duplicated code fragments has an overlapping Split Conditional refactorings, while the other duplicated code fragment in an exact matchif (persistentObjectsToInsert.size() == 1)
.