You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Martin Wiesner (JIRA)" <ji...@apache.org> on 2019/05/28 19:40:00 UTC

[jira] [Closed] (TOMEE-2509) wrap FileWriter with BufferedWriter for better performance

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

Martin Wiesner closed TOMEE-2509.
---------------------------------
    Resolution: Resolved

Resolved for > TomEE-8.0.0-M3 (i.e.: >=M4) via PR: https://github.com/apache/tomee/pull/459

> wrap FileWriter with BufferedWriter for better performance
> ----------------------------------------------------------
>
>                 Key: TOMEE-2509
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2509
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 8.0.0-M1, 8.0.0-M2, 8.0.0-M3
>            Reporter: bd2019us
>            Priority: Major
>              Labels: patch, pull-request-available
>             Fix For: 8.0.0-Final, 8.0.0-M4
>
>         Attachments: 1.patch
>
>
> Location: maven/jarstxt-maven-plugin/src/main/java/org/apache/openejb/maven/jarstxt/JarsTxtMojo.java
> When writing a file intensively in a loop, the FileWriter should be wrapped with a BufferedWriter for better performance since it can significantly reduce the overhead of IO operation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)