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

Method addExtension

java/org/apache/jasper/JspC.java:882–890  ·  view source on GitHub ↗

Adds the given file extension to the list of extensions handled as JSP files. @param extension The extension to add, e.g. "myjsp"

(final String extension)

Source from the content-addressed store, hash-verified

880 * @param extension The extension to add, e.g. "myjsp"
881 */
882 protected void addExtension(final String extension) {
883 if (extension != null) {
884 if (extensions == null) {
885 extensions = new ArrayList<>();
886 }
887
888 extensions.add(extension);
889 }
890 }
891
892 /**
893 * Base dir for the webapp. Used to generate class names and resolve includes.

Callers 4

scanFilesMethod · 0.95
generateKeystoreMethod · 0.80

Calls 1

addMethod · 0.65

Tested by 3

generateKeystoreMethod · 0.64