MCPcopy Index your code
hub / github.com/processing/processing / isDefaultExtension

Method isDefaultExtension

app/src/processing/app/Mode.java:928–930  ·  view source on GitHub ↗

True if the specified code has the default file extension.

(SketchCode code)

Source from the content-addressed store, hash-verified

926 * True if the specified code has the default file extension.
927 */
928 public boolean isDefaultExtension(SketchCode code) {
929 return code.getExtension().equals(getDefaultExtension());
930 }
931
932
933 /**

Callers 2

nameCodeMethod · 0.80
handleImportLibraryMethod · 0.80

Calls 3

getDefaultExtensionMethod · 0.95
equalsMethod · 0.45
getExtensionMethod · 0.45

Tested by

no test coverage detected