mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +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.)
|
||||
* @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 {
|
||||
|
||||
final DatabaseProperties prop = database.getDatabaseProperties();
|
||||
|
||||
Reference in New Issue
Block a user