You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/27 08:45:00 UTC

[jira] [Commented] (BAHIR-172) Avoid FileInputStream/FileOutputStream

    [ https://issues.apache.org/jira/browse/BAHIR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894352#comment-16894352 ] 

ASF GitHub Bot commented on BAHIR-172:
--------------------------------------

liketic commented on pull request #92: [BAHIR-172 ]Replace FileInputStream with Files.newInputStream
URL: https://github.com/apache/bahir/pull/92
 
 
   Replace FileInputStream with Files.newInputStream in MQTTTestUtils. 
   
   Related to JIRA: https://issues.apache.org/jira/projects/BAHIR/issues/BAHIR-172
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
>                 Key: BAHIR-172
>                 URL: https://issues.apache.org/jira/browse/BAHIR-172
>             Project: Bahir
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> They rely on finalizers (before Java 11), which create unnecessary GC load.
> The alternatives, {{Files.newInputStream}}, are as easy to use and don't have this issue.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)