refactor: Removing use of generic wildcard.
@@ -7,8 +7,8 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import com.synopsys.integration.blackduck.codelocation.CodeLocationBatchOutput;
import com.synopsys.integration.blackduck.codelocation.CodeLocationCreationData;
+import com.synopsys.integration.blackduck.codelocation.binaryscanner.BinaryScanBatchOutput;
import com.synopsys.integration.detect.configuration.DetectUserFriendlyException;
import com.synopsys.integration.detect.lifecycle.run.data.BlackDuckRunData;
import com.synopsys.integration.detect.lifecycle.run.data.DockerTargetData;
@@ -24,7 +24,7 @@ public class BinaryScanStepRunner {
this.operationFactory = operationFactory;
}
- public Optional<CodeLocationCreationData<? extends CodeLocationBatchOutput<?>>> runBinaryScan(final DockerTargetData dockerTargetData, final NameVersion projectNameVersion, final BlackDuckRunData blackDuckRunData)
+ public Optional<CodeLocationCreationData<BinaryScanBatchOutput>> runBinaryScan(final DockerTargetData dockerTargetData, final NameVersion projectNameVersion, final BlackDuckRunData blackDuckRunData)
throws DetectUserFriendlyException {
Optional<File> binaryScanFile = determineBinaryScanFileTarget(dockerTargetData);
if (binaryScanFile.isPresent()) {
