Skip to content

Commit b8602e4

Browse files
committed
clean up error message about sketchbook folder (fixes processing#4942)
1 parent 672a01f commit b8602e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/src/processing/mode/java/Compiler.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class Compiler {
3939

4040
static HashMap<String, String> importSuggestions;
4141
static {
42-
importSuggestions = new HashMap<String, String>();
42+
importSuggestions = new HashMap<>();
4343
importSuggestions.put("Arrays", "java.util.Arrays");
4444
importSuggestions.put("Collections", "java.util.Collections");
4545
importSuggestions.put("Date", "java.util.Date");
@@ -188,7 +188,8 @@ public void close() { }
188188
"You might be missing a library.");
189189
System.err.println("Libraries must be " +
190190
"installed in a folder named 'libraries' " +
191-
"inside the 'sketchbook' folder.");
191+
"inside the sketchbook folder " +
192+
"(see the Preferences window).");
192193
}
193194
}
194195

0 commit comments

Comments
 (0)