[
https://issues.apache.org/jira/browse/KNOX-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Larry McCay resolved KNOX-2227.
-------------------------------
Resolution: Fixed
> Strip Leading and Trailing Whitespace from Headers in KnoxShellTable
> --------------------------------------------------------------------
>
> Key: KNOX-2227
> URL: https://issues.apache.org/jira/browse/KNOX-2227
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxShell
> Reporter: Larry McCay
> Assignee: Larry McCay
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently headers are added to KnoxShellTable with any trailing or leading
> spaces intact. This makes any operations on the table that take a header name
> as a parameter difficult to use. There is no way to determine whether there
> are such spaces in the table even when rendered due to the padding in the
> cell.
> I can't think of any reason that such spaces need to be retained even for CSV
> files when they exist in the source file.
> This patch will trim the spaces so that header name based operations are more
> easily done and coded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)