Changes

Summary

  1. Avoid initializing the "FileOutputStream" of an html-file just to accompany it in the file's metadata, even though it is not used. Additionally, it was causing a "FileNotFoundException" in some, but not all cases (it was called before the file was downloaded, but still it should just create an empty file and not alert it does not exist). (commit: 6deccda) (details)
Commit 6deccdaf2685b93564584b04deb8c03a84efc202 by Lampros Smyrnaios
Avoid initializing the "FileOutputStream" of an html-file just to accompany it in the file's metadata, even though it is not used. Additionally, it was causing a "FileNotFoundException" in some, but not all cases (it was called before the file was downloaded, but still it should just create an empty file and not alert it does not exist).
(commit: 6deccda)
The file was modifiedsrc/main/java/eu/openaire/publications_retriever/util/file/FileUtils.java (diff)