You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2021/03/13 10:47:00 UTC
[jira] [Created] (JSPWIKI-1148) Avoid File Stream
Arturo Bernal created JSPWIKI-1148:
--------------------------------------
Summary: Avoid File Stream
Key: JSPWIKI-1148
URL: https://issues.apache.org/jira/browse/JSPWIKI-1148
Project: JSPWiki
Issue Type: Improvement
Reporter: Arturo Bernal
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)