We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, run this
@Test public void testExplicitConversion() throws Exception { AstComparator comparator = new AstComparator(); String a = "class Foo{public void bar(){\ndouble b = 0;\n}}"; String b = "class Foo{public void bar(){\ndouble b = (double) 0;\n}}"; Diff diff = comparator.compare(a, b); List<Operation> operations = diff.getRootOperations(); for (Operation operation : operations) { System.out.println(operation); System.out.println("================"); } a = "class Foo{public void bar(){\nint a = 1;\ndouble b = a;\n}}"; b = "class Foo{public void bar(){\nint a = 1;\ndouble b = (double) a;\n}}"; diff = comparator.compare(a, b); operations = diff.getRootOperations(); for (Operation operation : operations) { System.out.println(operation); System.out.println("================"); } }
and we only get
Update Literal at Foo:2 0 to ((double) (0)) ================
I also tried the webdiff tool from gumtree and did not meet this issue.
The text was updated successfully, but these errors were encountered:
Thanks Jian for the bug report. Could you try to make a fix in a pull request?
Sorry, something went wrong.
I am going to handle this in Summer
great!
No branches or pull requests
For example, run this
and we only get
I also tried the webdiff tool from gumtree and did not meet this issue.
The text was updated successfully, but these errors were encountered: