From 6000b11cf9a735005209df457c35c97e686584b3 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 9 Aug 2015 20:47:19 -0400 Subject: [PATCH] additional type corrections --- app/src/processing/app/Library.java | 4 ++-- app/src/processing/app/Mode.java | 4 ++-- todo.txt | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/processing/app/Library.java b/app/src/processing/app/Library.java index 69966b637..bd10d0bfc 100644 --- a/app/src/processing/app/Library.java +++ b/app/src/processing/app/Library.java @@ -256,13 +256,13 @@ public class Library extends LocalContribution { * @param importToLibraryTable mapping from package names to Library objects */ // public void addPackageList(HashMap importToLibraryTable) { - public void addPackageList(Map> importToLibraryTable) { + public void addPackageList(Map> importToLibraryTable) { // PApplet.println(packages); for (String pkg : packageList) { // pw.println(pkg + "\t" + libraryFolder.getAbsolutePath()); // PApplet.println(pkg + "\t" + getName()); // Library library = importToLibraryTable.get(pkg); - ArrayList libraries = importToLibraryTable.get(pkg); + List libraries = importToLibraryTable.get(pkg); if (libraries == null) { libraries = new ArrayList(); importToLibraryTable.put(pkg, libraries); diff --git a/app/src/processing/app/Mode.java b/app/src/processing/app/Mode.java index 704ae8f3c..c247673e5 100644 --- a/app/src/processing/app/Mode.java +++ b/app/src/processing/app/Mode.java @@ -62,7 +62,7 @@ public abstract class Mode { // protected Tool formatter; // maps imported packages to their library folder - protected Map> importToLibraryTable; + protected Map> importToLibraryTable; // these menus are shared so that they needn't be rebuilt for all windows // each time a sketch is created, renamed, or moved. @@ -318,7 +318,7 @@ public abstract class Mode { public void rebuildLibraryList() { //new Exception("Rebuilding library list").printStackTrace(System.out); // reset the table mapping imports to libraries - importToLibraryTable = new HashMap>(); + importToLibraryTable = new HashMap>(); Library core = getCoreLibrary(); if (core != null) { diff --git a/todo.txt b/todo.txt index 6d76dde21..fc848b364 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,8 @@ 0241 (3.0b3) +X don't show breakpoints when debugger is off +X https://github.com/processing/processing/issues/3093 +X no setting breakpoints when debugger is off +X https://github.com/processing/processing/issues/3306 _ 'examples' shows as a folder in the sketchbook window cleaning/earlier @@ -38,10 +42,6 @@ _ fix red in sidebar, the squiggly line beneath code _ show hover text with 'debug' _ show number of updates available in the footer _ https://github.com/processing/processing/issues/3518 -X don't show breakpoints when debugger is off -X https://github.com/processing/processing/issues/3093 -_ no setting breakpoints when debugger is off -_ https://github.com/processing/processing/issues/3306 _ make breakpoints more prominent _ https://github.com/processing/processing/issues/3307 _ import suggestions box needs design review