Use Files.readString() 63/108463/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 16 Oct 2023 17:34:13 +0000 (19:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 16 Oct 2023 17:34:13 +0000 (19:34 +0200)
commitaeae17933aa7ebec3813ecc46b9ba3181fed9d10
tree58fdf64dc5b7febbed16ae0d02984070fa5b9b21
parent670022f008f044d8226f7894cdb522fd9eb8e449
Use Files.readString()

Since Java 11 we have a simple convenience method to read the contents
of a UTF-8-encoded file. Use that instead of going through a CharSource.

Change-Id: I1ddf210a7d5fb0d78296fbc897593e395e75ae63
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/client/stress/StressClient.java