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

zhangminglei updated HUDI-1913:
-------------------------------
    Description: 
Using streams instead of loops improves the readability and makes the code more 
compact.

For example, we could use _BufferReader.lines_ instead of 
_BufferReader.readLine_ with a bunch of for loop code, and that makes the code 
looks more compact.

  was:Using streams instead of loops improves the readability and makes the 
code more compact.


> Using streams instead of loops for readline
> -------------------------------------------
>
>                 Key: HUDI-1913
>                 URL: https://issues.apache.org/jira/browse/HUDI-1913
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: CLI, Common Core, Utilities
>            Reporter: zhangminglei
>            Priority: Minor
>
> Using streams instead of loops improves the readability and makes the code 
> more compact.
> For example, we could use _BufferReader.lines_ instead of 
> _BufferReader.readLine_ with a bunch of for loop code, and that makes the 
> code looks more compact.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to