@@ -131,29 +131,29 @@ public String getFilename() {
131
131
}
132
132
133
133
public ImportScanResponse importScan (ScanFile scanFile , long engagementId , long lead , String currentDate , ScanType scanType , long testType ) {
134
- var additionalValues = new LinkedMultiValueMap <String , Object >();
135
- additionalValues .add ("engagement" , Long .toString (engagementId )); // FIXME Seems to be duplicated.
134
+ final var options = new LinkedMultiValueMap <String , Object >();
135
+ options .add ("engagement" , Long .toString (engagementId )); // FIXME Seems to be duplicated.
136
136
137
- return this .importScan (scanFile , engagementId , lead , currentDate , scanType , testType , additionalValues );
137
+ return this .importScan (scanFile , engagementId , lead , currentDate , scanType , testType , options );
138
138
}
139
139
140
- public ImportScanResponse importScan (ScanFile scanFile , long engagementId , long lead , String currentDate , ScanType scanType , long testType , LinkedMultiValueMap <String , Object > additionalValues ) {
141
- additionalValues .add ("engagement" , Long .toString (engagementId ));
140
+ public ImportScanResponse importScan (ScanFile scanFile , long engagementId , long lead , String currentDate , ScanType scanType , long testType , LinkedMultiValueMap <String , Object > options ) {
141
+ options .add ("engagement" , Long .toString (engagementId ));
142
142
143
- return this .createFindings (scanFile , "import-scan" , lead , currentDate , scanType , testType , additionalValues );
143
+ return this .createFindings (scanFile , "import-scan" , lead , currentDate , scanType , testType , options );
144
144
}
145
145
146
146
public ImportScanResponse reimportScan (ScanFile scanFile , long testId , long lead , String currentDate , ScanType scanType , long testType ) {
147
- var additionalValues = new LinkedMultiValueMap <String , Object >();
148
- additionalValues .add ("test" , Long .toString (testId )); // FIXME Seems to be duplicated.
147
+ final var options = new LinkedMultiValueMap <String , Object >();
148
+ options .add ("test" , Long .toString (testId )); // FIXME Seems to be duplicated.
149
149
150
- return this .reimportScan (scanFile , testId , lead , currentDate , scanType , testType , additionalValues );
150
+ return this .reimportScan (scanFile , testId , lead , currentDate , scanType , testType , options );
151
151
}
152
152
153
- public ImportScanResponse reimportScan (ScanFile scanFile , long testId , long lead , String currentDate , ScanType scanType , long testType , LinkedMultiValueMap <String , Object > additionalValues ) {
154
- additionalValues .add ("test" , Long .toString (testId ));
153
+ public ImportScanResponse reimportScan (ScanFile scanFile , long testId , long lead , String currentDate , ScanType scanType , long testType , LinkedMultiValueMap <String , Object > options ) {
154
+ options .add ("test" , Long .toString (testId ));
155
155
156
- return this .createFindings (scanFile , "reimport-scan" , lead , currentDate , scanType , testType , additionalValues );
156
+ return this .createFindings (scanFile , "reimport-scan" , lead , currentDate , scanType , testType , options );
157
157
}
158
158
159
159
@ Data
0 commit comments