File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/service Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1111import io .securecodebox .persistence .defectdojo .exceptions .DefectDojoPersistenceException ;
1212import io .securecodebox .persistence .defectdojo .models .ScanFile ;
1313import lombok .Data ;
14+ import lombok .NonNull ;
1415import org .apache .http .HttpHost ;
1516import org .apache .http .auth .AuthScope ;
1617import org .apache .http .auth .UsernamePasswordCredentials ;
@@ -41,7 +42,12 @@ public class ImportScanService {
4142 protected String defectDojoUrl ;
4243 protected String defectDojoApiKey ;
4344
44- public ImportScanService (DefectDojoConfig config ) {
45+ /**
46+ * Dedicated constructor.
47+ *
48+ * @param config not {@code null}
49+ */
50+ public ImportScanService (final @ NonNull DefectDojoConfig config ) {
4551 super ();
4652 this .defectDojoUrl = config .getUrl ();
4753 this .defectDojoApiKey = config .getApiKey ();
You can’t perform that action at this time.
0 commit comments