Detect tool filter order matches the underlying tool.
@@ -34,8 +34,8 @@ public class DetectToolFilter {
private final Optional<Boolean> deprecatedSigScanDisabled;
private final Optional<Boolean> deprecatedSwipEnabled;
- public DetectToolFilter(String includedTools, String excludedTools, Optional<Boolean> deprecatedSigScanDisabled, Optional<Boolean> deprecatedSwipEnabled) {
- this.excludedIncludedFilter = new ExcludedIncludedFilter(includedTools, excludedTools);
+ public DetectToolFilter(String excludedTools, String includedTools, Optional<Boolean> deprecatedSigScanDisabled, Optional<Boolean> deprecatedSwipEnabled) {
+ this.excludedIncludedFilter = new ExcludedIncludedFilter(excludedTools, includedTools);
this.deprecatedSigScanDisabled = deprecatedSigScanDisabled;
this.deprecatedSwipEnabled = deprecatedSwipEnabled;
