[ 
https://issues.apache.org/jira/browse/TEZ-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor resolved TEZ-4687.
-------------------------------
    Resolution: Fixed

> 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
>            Assignee: László Bodor
>            Priority: Major
>             Fix For: 1.0.0
>
>          Time Spent: 40m
>  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)

Reply via email to