MCPcopy Index your code
hub / github.com/benfry/processing4 / isDefaultExtension

Method isDefaultExtension

app/src/processing/app/Mode.java:714–716  ·  view source on GitHub ↗

True if the specified code has the default file extension.

(SketchCode code)

Source from the content-addressed store, hash-verified

712 * True if the specified code has the default file extension.
713 */
714 public boolean isDefaultExtension(SketchCode code) {
715 return code.getExtension().equals(getDefaultExtension());
716 }
717
718
719 /**

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