You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "wolfgangreder (via GitHub)" <gi...@apache.org> on 2024/01/02 09:34:17 UTC
[I] Fix import imports class from same package [netbeans]
wolfgangreder opened a new issue, #6902:
URL: https://github.com/apache/netbeans/issues/6902
### Apache NetBeans version
Apache NetBeans 20
### What happened
When i create a class with static factory methods.
Auto fix imports create a import for this class.
See [https://github.com/wolfgangreder/UART2EMB/blob/bd41ce492df4ed8407c9ceab251c03645b5b237c/bootloader-java/libJBoot/src/main/java/at/or/reder/jboot/impl/jboot/Record.java as ](https://github.com/wolfgangreder/UART2EMB/blob/main/bootloader-java/libJBoot/src/main/java/at/or/reder/jboot/impl/jboot/Record.java) as example.
### Language / Project Type / NetBeans Component
Java Gradle Project
### How to reproduce
Import project https://github.com/wolfgangreder/UART2EMB.git and open bootloader-java
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux
### JDK
JDK 21
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
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.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
Re: [I] Fix import imports class from same package [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #6902:
URL: https://github.com/apache/netbeans/issues/6902#issuecomment-2101237122
potential fix would be here https://github.com/apache/netbeans/pull/7363
@wolfgangreder could you check if this is fixing it? dev-build zip: https://github.com/apache/netbeans/actions/runs/8979314348/artifacts/1478735216
--
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
Re: [I] Fix import imports class from same package [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #6902: Fix import imports class from same package
URL: https://github.com/apache/netbeans/issues/6902
--
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
Re: [I] Fix import imports class from same package [netbeans]
Posted by "wolfgangreder (via GitHub)" <gi...@apache.org>.
wolfgangreder commented on issue #6902:
URL: https://github.com/apache/netbeans/issues/6902#issuecomment-1962987303
If i rename the class from Record to e.g. CommandRecord the problem does not occur!
Maybe the problem is related to the java keyword record.
--
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