[
https://issues.apache.org/jira/browse/ARTEMIS-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell resolved ARTEMIS-5293.
-------------------------------------
Fix Version/s: 2.40.0
Resolution: Fixed
> Use Files.readString() & Files.writeString() where possible
> -----------------------------------------------------------
>
> Key: ARTEMIS-5293
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5293
> Project: ActiveMQ Artemis
> Issue Type: Sub-task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.40.0
>
>
> Java 11 introduced the
> {{[Files.readString|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#readString(java.nio.file.Path)]}}
> and
> {{[Files.writeString|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#writeString(java.nio.file.Path,java.lang.CharSequence,java.nio.file.OpenOption...)]}}
> methods. We should use them wherever possible as they are more concise and
> readable than the alternatives.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact