mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 16:24:11 +01:00
fixed coverity reported unguarded read
This commit is contained in:
@@ -812,7 +812,7 @@ public class Engine implements FileFilter {
|
|||||||
* @param format the report format (ALL, HTML, CSV, JSON, etc.)
|
* @param format the report format (ALL, HTML, CSV, JSON, etc.)
|
||||||
* @throws ReportException thrown if there is an error generating the report
|
* @throws ReportException thrown if there is an error generating the report
|
||||||
*/
|
*/
|
||||||
public void writeReports(String applicationName, String groupId, String artifactId,
|
public synchronized void writeReports(String applicationName, String groupId, String artifactId,
|
||||||
String version, File outputDir, String format) throws ReportException {
|
String version, File outputDir, String format) throws ReportException {
|
||||||
|
|
||||||
final DatabaseProperties prop = database.getDatabaseProperties();
|
final DatabaseProperties prop = database.getDatabaseProperties();
|
||||||
|
|||||||
Reference in New Issue
Block a user