[
https://issues.apache.org/jira/browse/TEZ-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated TEZ-4687:
------------------------------
Description:
This patch is less likely to add conflicts while backporting, but it can still
be done by the spotless plugin.
1. add
{code}<endWithNewline/>{code}
2. run:
{code}
mvn spotless:apply
{code}
Some reasonse why we might want to add this:
1. prevent "\ No newline at end of file" in git diffs
2. cross-editor consistency: some editors want to take care of this,
unexpectedly change the file on save
was:
1. add
{code}<endWithNewline/>{code}
2. run:
{code}
mvn spotless:apply
{code}
> Spotless: enforce endWithNewline
> --------------------------------
>
> Key: TEZ-4687
> URL: https://issues.apache.org/jira/browse/TEZ-4687
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: László Bodor
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This patch is less likely to add conflicts while backporting, but it can
> still be done by the spotless plugin.
> 1. add
> {code}<endWithNewline/>{code}
> 2. run:
> {code}
> mvn spotless:apply
> {code}
> Some reasonse why we might want to add this:
> 1. prevent "\ No newline at end of file" in git diffs
> 2. cross-editor consistency: some editors want to take care of this,
> unexpectedly change the file on save
--
This message was sent by Atlassian Jira
(v8.20.10#820010)