You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/12/26 17:21:42 UTC

[GitHub] [netbeans] jherkel opened a new pull request #2609: update default imports for JShell

jherkel opened a new pull request #2609:
URL: https://github.com/apache/netbeans/pull/2609


   When I tried some code with JShell I found out that there were differencies in default imports between JShell from jdk and internal JShell from Netbeans. Default imports from JDK JShell :
   jshell> /imports
   |    import java.io.*
   |    import java.math.*
   |    import java.net.*
   |    import java.nio.file.*
   |    import java.util.*
   |    import java.util.concurrent.*
   |    import java.util.function.*
   |    import java.util.prefs.*
   |    import java.util.regex.*
   |    import java.util.stream.*
   
   Netbeans JShell :
   [1]-> /imports
   |    import java.util.*
   |    import java.io.*
   |    import java.math.*
   |    import java.net.*
   |    import java.util.concurrent.*
   |    import java.util.prefs.*
   |    import java.util.regex.*
   
   I think it would be better if these default imports would be the same.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing merged pull request #2609: update default imports for JShell

Posted by GitBox <gi...@apache.org>.
matthiasblaesing merged pull request #2609:
URL: https://github.com/apache/netbeans/pull/2609


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on pull request #2609: update default imports for JShell

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on pull request #2609:
URL: https://github.com/apache/netbeans/pull/2609#issuecomment-755474808


   Looks sane to me - aligning with upstream sounds like a good idea.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists