You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2021/09/27 09:13:00 UTC
[jira] [Resolved] (JSPWIKI-1148) Avoid File Stream
[ https://issues.apache.org/jira/browse/JSPWIKI-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Pablo Santos Rodríguez resolved JSPWIKI-1148.
--------------------------------------------------
Resolution: Fixed
done in 2.11.0-git-10
> Avoid File Stream
> -----------------
>
> Key: JSPWIKI-1148
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1148
> Project: JSPWiki
> Issue Type: Improvement
> Reporter: Arturo Bernal
> Priority: Major
> Labels: pull-request-available
>
> Replace construction of FileInputStream and FileOutputStream objects with Files NIO APIs.
> Please note, that the java.nio API does not throw a FileNotFoundException anymore, instead it throws a NoSuchFileException.
>
> [https://github.com/apache/jspwiki/blob/master/jspwiki-util/src/main/java/org/apache/wiki/util/PropertyReader.java#L144]
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)