MCPcopy
hub / github.com/arduino/Arduino / removeRecentSketchPath

Method removeRecentSketchPath

app/src/processing/app/Base.java:642–646  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

640 }
641
642 protected void removeRecentSketchPath(String path) {
643 Collection<String> sketches = new LinkedList<>(PreferencesData.getCollection("recent.sketches"));
644 sketches.remove(path);
645 PreferencesData.setCollection("recent.sketches", sketches);
646 }
647
648 // Because of variations in native windowing systems, no guarantees about
649 // changes to the focused and active Windows can be made. Developers must

Callers 1

handleSave2Method · 0.80

Calls 3

getCollectionMethod · 0.95
setCollectionMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected