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

WIP: DiffParser #95 #102

Closed
wants to merge 1 commit into from
Closed

WIP: DiffParser #95 #102

wants to merge 1 commit into from

Conversation

tomasbjerre
Copy link
Owner

@tomasbjerre tomasbjerre commented Sep 6, 2020

This is work in progress for #95 .

Not sure about how useful this actually is. Perhaps this can be a first step, and next step can be to enhence the Violation model with suggestedChange. So that comment-libraries can implement it.

Was not able to find a good library for parsing unified diffs. The one I eventually tried does have some bugs, java-diff-utils/java-diff-utils#98 java-diff-utils/java-diff-utils#97. API is also strange, java-diff-utils/java-diff-utils#99.

Example patch-files from Spotless or ErrorProne should be added to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant