You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "vinoyang (Jira)" <ji...@apache.org> on 2021/05/19 01:16:00 UTC

[jira] [Closed] (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 ]

vinoyang closed HUDI-1913.
--------------------------
    Resolution: Done

fe3f5c2d560d9f27984b97c9840b7572337bd420

> 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
>            Assignee: zhangminglei
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> 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)