File tree 1 file changed +7
-1
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/service
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11
11
import io .securecodebox .persistence .defectdojo .exceptions .DefectDojoPersistenceException ;
12
12
import io .securecodebox .persistence .defectdojo .models .ScanFile ;
13
13
import lombok .Data ;
14
+ import lombok .NonNull ;
14
15
import org .apache .http .HttpHost ;
15
16
import org .apache .http .auth .AuthScope ;
16
17
import org .apache .http .auth .UsernamePasswordCredentials ;
@@ -41,7 +42,12 @@ public class ImportScanService {
41
42
protected String defectDojoUrl ;
42
43
protected String defectDojoApiKey ;
43
44
44
- public ImportScanService (DefectDojoConfig config ) {
45
+ /**
46
+ * Dedicated constructor.
47
+ *
48
+ * @param config not {@code null}
49
+ */
50
+ public ImportScanService (final @ NonNull DefectDojoConfig config ) {
45
51
super ();
46
52
this .defectDojoUrl = config .getUrl ();
47
53
this .defectDojoApiKey = config .getApiKey ();
You can’t perform that action at this time.
0 commit comments