MCPcopy Index your code
hub / github.com/apache/tomcat / scanFilesInternal

Method scanFilesInternal

java/org/apache/jasper/JspC.java:1480–1494  ·  view source on GitHub ↗
(String input)

Source from the content-addressed store, hash-verified

1478
1479
1480 private void scanFilesInternal(String input) {
1481 Set<String> paths = context.getResourcePaths(input);
1482 for (String path : paths) {
1483 if (path.endsWith("/")) {
1484 scanFilesInternal(path);
1485 } else if (jspConfig.isJspPage(path)) {
1486 pages.add(path);
1487 } else {
1488 String ext = path.substring(path.lastIndexOf('.') + 1);
1489 if (extensions.contains(ext)) {
1490 pages.add(path);
1491 }
1492 }
1493 }
1494 }
1495
1496
1497 /**

Callers 1

scanFilesMethod · 0.95

Calls 5

endsWithMethod · 0.80
isJspPageMethod · 0.80
getResourcePathsMethod · 0.65
addMethod · 0.65
containsMethod · 0.65

Tested by

no test coverage detected