252627282930313233
for (ScannerRegistration scannerRegistration : scanners) { Filter filter = scannerRegistration.getFilter(); if (filter == null || filter.accepts(fileName)) { scannerRegistration.addMatch(new ScannerMatch(parentURL, url)); } } }