@@ -131,29 +131,29 @@ public String getFilename() {
131131 }
132132
133133 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.
136136
137- return this .importScan (scanFile , engagementId , lead , currentDate , scanType , testType , additionalValues );
137+ return this .importScan (scanFile , engagementId , lead , currentDate , scanType , testType , options );
138138 }
139139
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 ));
142142
143- return this .createFindings (scanFile , "import-scan" , lead , currentDate , scanType , testType , additionalValues );
143+ return this .createFindings (scanFile , "import-scan" , lead , currentDate , scanType , testType , options );
144144 }
145145
146146 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.
149149
150- return this .reimportScan (scanFile , testId , lead , currentDate , scanType , testType , additionalValues );
150+ return this .reimportScan (scanFile , testId , lead , currentDate , scanType , testType , options );
151151 }
152152
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 ));
155155
156- return this .createFindings (scanFile , "reimport-scan" , lead , currentDate , scanType , testType , additionalValues );
156+ return this .createFindings (scanFile , "reimport-scan" , lead , currentDate , scanType , testType , options );
157157 }
158158
159159 @ Data
0 commit comments