Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for ASTDiff problems #453

Merged
merged 20 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3d5799c
Remove the additional part of the URL
pouryafard75 Apr 25, 2023
d3f2b3c
Update the TreeMatcher interface match method signature
pouryafard75 Apr 25, 2023
1f6519d
Optimize imports and enhance the code structure
pouryafard75 Apr 25, 2023
48ed822
Modify the test result after previous fix
pouryafard75 Apr 25, 2023
8950a77
Modify the test result due to the previous fix
pouryafard75 Apr 25, 2023
e5d4985
Modify the TreeMatcher interface and update the subclasses accordingly
pouryafard75 Apr 25, 2023
b6a91ce
Initial Fix for https://github.com/pouryafard75/RM-ASTDiff/issues/77
pouryafard75 Apr 26, 2023
4b6a4e7
Extract optimization method for BasicTreeMatcher
pouryafard75 Apr 28, 2023
37ae4aa
Fix for https://github.com/pouryafard75/RM-ASTDiff/issues/76
pouryafard75 Apr 29, 2023
6d62daa
New case added
pouryafard75 Apr 29, 2023
c1ce491
Modify the test names to enhance the readability
pouryafard75 Apr 29, 2023
ff92bed
New case added
pouryafard75 Apr 29, 2023
16fef24
New case added
pouryafard75 Apr 29, 2023
387e97d
Initial diff fix for ReplaceAnonymousWithClass
pouryafard75 Apr 29, 2023
a8d98a2
Diff Support for ReplaceAnonymousWithClassRefactoring
pouryafard75 Apr 29, 2023
768b149
Enhance the ASTDiff API by modifying the method name
pouryafard75 Apr 29, 2023
1d4faee
Add the missing AST type constants
pouryafard75 Apr 29, 2023
57251b3
Modify the occurances of the deprecated method
pouryafard75 Apr 29, 2023
70ed04a
Remove obselete parameter
pouryafard75 Apr 29, 2023
c94d3f8
Fix for https://github.com/pouryafard75/RM-ASTDiff/issues/75
pouryafard75 Apr 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src-test/data/astDiff/commits/cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,13 @@
}, {
"repo" : "https://github.com/SonarSource/sonarqube.git",
"commit" : "0d9fcaa4415ee996e423a97cfe0d965586ca59a5"
}, {
"repo" : "https://github.com/JetBrains/intellij-community.git",
"commit" : "6b90205e9f7bbd1570f600d3812fd3efa1a0597e"
}, {
"repo" : "https://github.com/hibernate/hibernate-orm.git",
"commit" : "0b6ea757e34a63b1421b77ed5fbb61398377aab1"
}, {
"repo" : "https://github.com/eclipse/jetty.project.git",
"commit" : "837d1a74bb7d694220644a2539c4440ce55462cf"
} ]
Original file line number Diff line number Diff line change
Expand Up @@ -3043,8 +3043,19 @@
"secondParentType" : "InfixExpression",
"firstPos" : 5346,
"secondPos" : 5459,
"firstEndPos" : 5461,
"firstEndPos" : 5513,
"secondEndPos" : 5626
}, {
"firstType" : "InfixExpression",
"secondType" : "InfixExpression",
"firstLabel" : "",
"secondLabel" : "",
"firstParentType" : "InfixExpression",
"secondParentType" : "InfixExpression",
"firstPos" : 5346,
"secondPos" : 5459,
"firstEndPos" : 5461,
"secondEndPos" : 5559
}, {
"firstType" : "InfixExpression",
"secondType" : "InfixExpression",
Expand Down
Loading