You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2011/06/09 21:32:58 UTC

[jira] [Closed] (THRIFT-1017) Cleanup whitespaces in sourcefiles

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

Jake Farrell closed THRIFT-1017.
--------------------------------

    Resolution: Not A Problem
      Assignee: Jake Farrell

Looking through the code base there are no tabs in any source files (.c, .cc, .h, .cs, .java, etc.), the only place i could find tabs where in makefiles. closing as non-issue, if this is a problem please submit a patch or a list of offending files and i will be glad to help with it.

> Cleanup whitespaces in sourcefiles
> ----------------------------------
>
>                 Key: THRIFT-1017
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1017
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Anatol Pomozov
>            Assignee: Jake Farrell
>            Priority: Trivial
>
> A couple of simple sed expressions can cleanup a bunch of TABS/incorrect whitespaces in the source files
> // Replace TAB with whitespaces in source files
> find -type f -name *.c | xargs sed -i 's/\t/  /g'
> // We need to cleanup *.h *.cc *.java *.cs files as well
> // Remove trailing spaces
> find -type f | xargs sed -i 's/ *$//g'

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira