remove warning by using the logger

This commit is contained in:
2017-04-02 11:15:41 +02:00
parent 2d78a70883
commit 7b92a306f3
2 changed files with 11 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ public class Plotter {
public PlotResult plot(final PlotSettings plotSettings) throws InternalPlottingException {
LOGGER.trace("start plot: {}", plotSettings);
final String tmpSubDir = uniqueDirectoryName();
final Path tmpDir = tmpBaseDir.resolve(tmpSubDir);
try {
@@ -116,6 +118,7 @@ public class Plotter {
throw new InternalPlottingException("Plotting failed: " + e.getMessage(), e);
} finally {
FileUtils.delete(tmpDir);
LOGGER.trace("done plot");
}
}