replace deprecated API
This commit is contained in:
@@ -33,7 +33,8 @@ public class Gnuplot {
|
||||
LOGGER.debug(gnuplotFileContent);
|
||||
|
||||
final File gnuplotFile = File.createTempFile("gnuplot", ".dem", tmpDirectory.toFile());
|
||||
Files.write(gnuplotFileContent, gnuplotFile, StandardCharsets.UTF_8);
|
||||
//Files.write(gnuplotFileContent, gnuplotFile, StandardCharsets.UTF_8);
|
||||
Files.asCharSink(gnuplotFile, StandardCharsets.UTF_8).write(gnuplotFileContent);
|
||||
|
||||
final long start = System.nanoTime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user