@@ -59,7 +59,6 @@ public class Base {
59
59
static private final int REVISION = 1273 ;
60
60
/** This might be replaced by main() if there's a lib/version.txt file. */
61
61
static private String VERSION_NAME = "1273" ; //$NON-NLS-1$
62
- /** Set true if this a proper release rather than a numbered revision. */
63
62
64
63
/**
65
64
* True if heavy debugging error/log messages are enabled. Set to true
@@ -81,7 +80,7 @@ public class Base {
81
80
82
81
/** List of currently active editors. */
83
82
protected List <Editor > editors =
84
- Collections .synchronizedList (new ArrayList <Editor >());
83
+ Collections .synchronizedList (new ArrayList <>());
85
84
protected Editor activeEditor ;
86
85
/** A lone file menu to be used when all sketch windows are closed. */
87
86
protected JMenu defaultFileMenu ;
@@ -98,10 +97,6 @@ public class Base {
98
97
protected List <ModeContribution > modeContribs ;
99
98
protected List <ExamplesContribution > exampleContribs ;
100
99
101
- private JMenu sketchbookMenu ;
102
-
103
- // private Recent recent;
104
-
105
100
// Used by handleOpen(), this saves the chooser to remember the directory.
106
101
// Doesn't appear to be necessary with the AWT native file dialog.
107
102
// https://github.com/processing/processing/pull/2366
@@ -1221,7 +1216,7 @@ public void handleNew() {
1221
1216
newbieName = prefix + suffix + ((char ) ('a' + index ));
1222
1217
// Also sanitize the name since it might do strange things on
1223
1218
// non-English systems that don't use this sort of date format.
1224
- // http ://code.google. com/p /processing/issues/detail?id=283
1219
+ // https ://github. com/processing /processing/issues/322
1225
1220
newbieName = Sketch .sanitizeName (newbieName );
1226
1221
newbieDir = new File (newbieParentDir , newbieName );
1227
1222
index ++;
@@ -1667,12 +1662,6 @@ protected void rebuildSketchbookMenus() {
1667
1662
}
1668
1663
1669
1664
1670
- protected void rebuildSketchbookMenu () {
1671
- sketchbookMenu .removeAll ();
1672
- populateSketchbookMenu (sketchbookMenu );
1673
- }
1674
-
1675
-
1676
1665
public void populateSketchbookMenu (JMenu menu ) {
1677
1666
boolean found = false ;
1678
1667
try {
0 commit comments