You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiao Chen (JIRA)" <ji...@apache.org> on 2016/06/11 01:25:21 UTC

[jira] [Commented] (HADOOP-13258) Fix trailing whitespace in LICENSE.txt for pre-commit.

    [ https://issues.apache.org/jira/browse/HADOOP-13258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325608#comment-15325608 ] 

Xiao Chen commented on HADOOP-13258:
------------------------------------

We can either disable whitespace check for L&N specifically, or fix it up. I don't see any harm fixing it, so here's a patch.
Fixed trailing whitespace by {{sed -i '' 's/[[:space:]]\{1,\}$//'}} on L&N.

> Fix trailing whitespace in LICENSE.txt for pre-commit.
> ------------------------------------------------------
>
>                 Key: HADOOP-13258
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13258
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HADOOP-13258.01.patch
>
>
> HADOOP-12893 auto-generates L&N by copying the files into resources during compile.
> Precommit ends up unhappy since those files have lines end in whitespace.
> {quote}The patch has 20 line(s) that end in whitespace.{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org