diff --git a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java index 54bc64e87..b1c5b3fba 100644 --- a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java +++ b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java @@ -78,7 +78,7 @@ public final class FileUtils { boolean success = true; if (!org.apache.commons.io.FileUtils.deleteQuietly(file)) { success = false; - LOGGER.info("Failed to delete file: {}; attempting to delete on exit.", file.getPath()); + LOGGER.debug("Failed to delete file: {}; attempting to delete on exit.", file.getPath()); file.deleteOnExit(); } return success; @@ -103,16 +103,16 @@ public final class FileUtils { } /** - * Returns the data directory. If a path was specified in dependencycheck.properties or was specified using the - * Settings object, and the path exists, that path will be returned as a File object. If it does not exist, then a - * File object will be created based on the file location of the JAR containing the specified class. + * Returns the data directory. If a path was specified in dependencycheck.properties or was specified using the Settings + * object, and the path exists, that path will be returned as a File object. If it does not exist, then a File object will be + * created based on the file location of the JAR containing the specified class. * * @param configuredFilePath the configured relative or absolute path * @param clazz the class to resolve the path * @return a File object * @throws IOException is thrown if the path could not be decoded - * @deprecated This method should no longer be used. See the implementation in dependency-check-cli/App.java to see - * how the data directory should be set. + * @deprecated This method should no longer be used. See the implementation in dependency-check-cli/App.java to see how the + * data directory should be set. */ @java.lang.Deprecated public static File getDataDirectory(String configuredFilePath, Class clazz) throws IOException { @@ -126,8 +126,8 @@ public final class FileUtils { } /** - * Retrieves the physical path to the parent directory containing the provided class. For example, if a JAR file - * contained a class org.something.clazz this method would return the parent directory of the JAR file. + * Retrieves the physical path to the parent directory containing the provided class. For example, if a JAR file contained a + * class org.something.clazz this method would return the parent directory of the JAR file. * * @param clazz the class to determine the parent directory of * @return the parent directory of the file containing the specified class.