-
Notifications
You must be signed in to change notification settings - Fork 7
Unified differ interface and source tracing improvements #176
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
Conversation
src/main/java/org/variantsync/diffdetective/variation/diff/Differ.java
Outdated
Show resolved
Hide resolved
pmbittner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate these changes and I am very happy about the detailed documentation! Good job!
There are a few things regarding documentation and naming things I would like resolve though before I am willing to merge.
src/main/java/org/variantsync/diffdetective/variation/diff/Differs.java
Outdated
Show resolved
Hide resolved
src/main/java/org/variantsync/diffdetective/variation/diff/Differs.java
Outdated
Show resolved
Hide resolved
src/main/java/org/variantsync/diffdetective/variation/diff/Differs.java
Outdated
Show resolved
Hide resolved
src/main/java/org/variantsync/diffdetective/variation/diff/Differs.java
Outdated
Show resolved
Hide resolved
src/main/java/org/variantsync/diffdetective/variation/diff/LineDiffer.java
Outdated
Show resolved
Hide resolved
2cc8b83 to
9b4c700
Compare
pmbittner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from one error affecting the README, I think this is ready to merge. Thank you very much. :)
The new mechanism is more flexible and provides more introspection capabilities. Furthermore, it provides more documentation about the intent of our source tracking.
Note about the visual abstract image: The image is purposefully placed in the `src` folder such that it is easy to reference from the Javadoc. Furthermore, the symlink from `docs` allows easy references from `README.md` makes it more discoverable. The direction of the symlink (`docs` to `src` instead of `src` to `docs`) is important because the Javadoc is moved during the build process. A symlink would thus be incorrect in the default javadoc location (`target/reports/apidocs/`) or the final destination (`docs/javadoc`) which is used by the Nix build and thus for Github pages.
177adcf to
533ef27
Compare
|
I rebased onto develop to merge now. |
533ef27 to
d728ec6
Compare
This PR addresses #146.
Along the way I improved the source tracing because it was necessary to correctly set the source of the returned
VariationDiffs :). During these changes I also did two other small, unrelated fixes.open questions:
Differs.lineDiffer(...).diff(...)where we currently use other convenience methods?VariationDiff.fromFile)?.