File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -187,28 +187,6 @@ File wordsFolder(File parentDir) {
187
187
}
188
188
189
189
190
- /*
191
- static File wordsFolder(File parentDir, String setName) {
192
- WordList wl = getWordLists().get(setName);
193
- File outgoing = null;
194
- // Still may be other possibilities after this, but if we hit
195
- // this many attempts, we've pretty much exhausted the list.
196
- final int maxAttempts = wl.getComboCount();
197
- int attempts = 0;
198
- do {
199
- // Clean up the name in case a user-supplied word list breaks the rules
200
- String name = Sketch.sanitizeName(wl.getPair());
201
- outgoing = new File(parentDir, name);
202
- attempts++;
203
- if (attempts == maxAttempts) {
204
- return null; // avoid infinite loop
205
- }
206
- } while (outgoing.exists());
207
- return outgoing;
208
- }
209
- */
210
-
211
-
212
190
static private void load (File namingFile ) {
213
191
JSONArray array = PApplet .loadJSONArray (namingFile );
214
192
for (int i = 0 ; i < array .size (); i ++) {
You can’t perform that action at this time.
0 commit comments