You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "junichi11 (via GitHub)" <gi...@apache.org> on 2023/07/09 10:37:57 UTC
[GitHub] [netbeans] junichi11 opened a new pull request, #6170: Fix "Fix Imports" when the vardoc has nullable types
junichi11 opened a new pull request, #6170:
URL: https://github.com/apache/netbeans/pull/6170
- https://github.com/apache/netbeans/issues/6075
- Fix the scanner: Add the comments as `Comment.Type.TYPE_VARTYPE` in the following example
- Check types without nullable type prefix(`?`)
- Add unit tests
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
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] junichi11 commented on a diff in pull request #6170: Fix "Fix Imports" when the vardoc has nullable types
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on code in PR #6170:
URL: https://github.com/apache/netbeans/pull/6170#discussion_r1257566476
##########
php/php.editor/src/org/netbeans/modules/php/editor/actions/ImportData.java:
##########
@@ -63,13 +64,14 @@ public static class DataItem {
private final String typeName;
private final List<ItemVariant> variants;
private final ItemVariant defaultVariant;
+ @NonNull
Review Comment:
I see. I'll remove it. Thanks!
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
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] junichi11 merged pull request #6170: Fix "Fix Imports" when the vardoc has nullable types
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 merged PR #6170:
URL: https://github.com/apache/netbeans/pull/6170
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
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] junichi11 commented on a diff in pull request #6170: Fix "Fix Imports" when the vardoc has nullable types
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on code in PR #6170:
URL: https://github.com/apache/netbeans/pull/6170#discussion_r1257567713
##########
php/php.editor/src/org/netbeans/modules/php/editor/actions/ImportData.java:
##########
@@ -63,13 +64,14 @@ public static class DataItem {
private final String typeName;
private final List<ItemVariant> variants;
private final ItemVariant defaultVariant;
+ @NonNull
Review Comment:
Fixed.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
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] tmysik commented on a diff in pull request #6170: Fix "Fix Imports" when the vardoc has nullable types
Posted by "tmysik (via GitHub)" <gi...@apache.org>.
tmysik commented on code in PR #6170:
URL: https://github.com/apache/netbeans/pull/6170#discussion_r1257538035
##########
php/php.editor/src/org/netbeans/modules/php/editor/actions/ImportData.java:
##########
@@ -63,13 +64,14 @@ public static class DataItem {
private final String typeName;
private final List<ItemVariant> variants;
private final ItemVariant defaultVariant;
+ @NonNull
Review Comment:
Nitpick: in NetBeans, all variables/parameters are not null, by default. Therefore, usually only `@Nullable` ones are annotated.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
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