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

Method checkName

app/src/processing/app/Sketch.java:1735–1744  ·  view source on GitHub ↗

Convert to sanitized name and alert the user if changes were made.

(String origName)

Source from the content-addressed store, hash-verified

1733 * if changes were made.
1734 */
1735 static public String checkName(String origName) {
1736 String newName = sanitizeName(origName);
1737
1738 if (!newName.equals(origName)) {
1739 String msg =
1740 Language.text("check_name.messages.is_name_modified");
1741 System.out.println(msg);
1742 }
1743 return newName;
1744 }
1745
1746
1747 /**

Callers 1

saveAsMethod · 0.95

Calls 4

sanitizeNameMethod · 0.95
textMethod · 0.95
equalsMethod · 0.45
printlnMethod · 0.45

Tested by

no test coverage detected