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

Tsz-wo Sze updated HDDS-12456:
------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

The pull request is now merged.  Thanks, [~adoroszlai] !

> Avoid FileInputStream and FileOutputStream
> ------------------------------------------
>
>                 Key: HDDS-12456
>                 URL: https://issues.apache.org/jira/browse/HDDS-12456
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> Enable PMD rule 
> [AvoidFileStream|https://docs.pmd-code.org/latest/pmd_rules_java_performance.html#avoidfilestream]:
> bq. The FileInputStream and FileOutputStream classes contains a finalizer 
> method which will cause garbage collection pauses. See 
> [JDK-8080225|https://bugs.openjdk.org/browse/JDK-8080225] for details.
> Use {{Files.newInputStream}} instead of {{new FileInputStream}}, etc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to