Moving bitbake property check to applicable.
@@ -64,11 +64,6 @@ public class BitbakeDetector extends Detector {
return new FileNotFoundDetectorResult(DetectProperty.DETECT_INIT_BUILD_ENV_NAME.getDefaultValue());
}
- return new PassedDetectorResult();
- }
-
- @Override
- public DetectorResult extractable() {
final String[] packageNames = detectConfiguration.getStringArrayProperty(DetectProperty.DETECT_BITBAKE_PACKAGE_NAMES, PropertyAuthority.None);
if (packageNames == null || packageNames.length == 0) {
return new PropertyInsufficientDetectorResult();
@@ -77,6 +72,11 @@ public class BitbakeDetector extends Detector {
return new PassedDetectorResult();
}
+ @Override
+ public DetectorResult extractable() {
+ return new PassedDetectorResult();
+ }
+
@Override
public Extraction extract(final ExtractionId extractionId) {
try {
