You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/18 07:40:00 UTC
[jira] [Updated] (HUDI-1913) Using streams instead of loops for
readline
[ https://issues.apache.org/jira/browse/HUDI-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-1913:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
>
> 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)