Projects:Java Sources Formatting/QA
Test plan
This project will not introduce any change in functionality nor performance. Therefore not specific tests need to be written/planned.
Impact
The only expected impact of this project is in merging repositories. In order to measure it, an artificial "big changeset affecting many Java files" was created. We created a diff in a repository without reformatting that generates changes in all debug to log statements that perform String concatenation: find -name "*.java" | xargs sed -Ei 's#(debug\(.*)" \+ (^")*#\1{}", \2#
(it contains 1104 hunks), applying this changeset in a formatted repository, 67% of the hunks applied without conflict. If the repository with the changes was previously formatted as explained in sources migration guide, the number of conflicts was highly reduced.