Skip to content

Commit 84877de

Browse files
committed
secureCodeBox#36 Reformatting
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent ec6388f commit 84877de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/io/securecodebox/persistence/defectdojo/service/ImportScanService.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ public String getFilename() {
136136
throw new DefectDojoPersistenceException("Failed to attach findings to engagement.");
137137
}
138138
}
139-
140-
139+
141140
public ImportScanResponse importScan(ScanFile scanFile, long engagementId, long lead, String currentDate, ScanType scanType, long testType) {
142141
var additionalValues = new LinkedMultiValueMap<String, Object>();
143142
additionalValues.add("engagement", Long.toString(engagementId));
@@ -153,7 +152,7 @@ public ImportScanResponse reimportScan(ScanFile scanFile, long testId, long lead
153152
}
154153

155154
//overloading with optional parameter
156-
public ImportScanResponse importScan(ScanFile scanFile, long engagementId, long lead, String currentDate, ScanType scanType, long testType, LinkedMultiValueMap<String, Object> additionalValues) {
155+
public ImportScanResponse importScan(ScanFile scanFile, long engagementId, long lead, String currentDate, ScanType scanType, long testType, LinkedMultiValueMap<String, Object> additionalValues) {
157156
additionalValues.add("engagement", Long.toString(engagementId));
158157

159158
return this.createFindings(scanFile, "import-scan", lead, currentDate, scanType, testType, additionalValues);

0 commit comments

Comments
 (0)