You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2021/01/06 18:25:24 UTC
[netbeans] branch master updated: update default imports for JShell
This is an automated email from the ASF dual-hosted git repository.
matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 67a256d update default imports for JShell
new 6e0a0cd Merge pull request #2609 from jherkel/master
67a256d is described below
commit 67a256d75a0cafa883b1ddad436ad73088a33e6c
Author: Jakub Herkel <j....@uniq.sk>
AuthorDate: Sat Dec 26 18:13:05 2020 +0100
update default imports for JShell
---
.../src/org/netbeans/modules/jshell/tool/JShellTool.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/java/jshell.support/src/org/netbeans/modules/jshell/tool/JShellTool.java b/java/jshell.support/src/org/netbeans/modules/jshell/tool/JShellTool.java
index 6631060..4bbe156 100644
--- a/java/jshell.support/src/org/netbeans/modules/jshell/tool/JShellTool.java
+++ b/java/jshell.support/src/org/netbeans/modules/jshell/tool/JShellTool.java
@@ -215,13 +215,16 @@ public class JShellTool implements MessageHandler {
static final String DEFAULT_STARTUP =
"\n" +
- "import java.util.*;\n" +
"import java.io.*;\n" +
"import java.math.*;\n" +
"import java.net.*;\n" +
+ "import java.nio.file.*;\n" +
+ "import java.util.*;\n" +
"import java.util.concurrent.*;\n" +
+ "import java.util.function.*;\n" +
"import java.util.prefs.*;\n" +
"import java.util.regex.*;\n" +
+ "import java.util.stream.*;\n" +
"void printf(String format, Object... args) { System.out.printf(format, args); }\n";
// Tool id (tid) mapping: the three name spaces
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists