icklesteve opened a new issue, #9103:
URL: https://github.com/apache/netbeans/issues/9103

   ### Apache NetBeans version
   
   Apache NetBeans 28
   
   ### What happened
   
   The same hint "Value of increment expression is used" is provided whether 
the expression is `++iD` or `iD++`
   I would expect the `iD++` hint to display something like "Value is used, 
then expression incremented."
   
   ### Language / Project Type / NetBeans Component
   
   Java Editor Hints
   
   ### How to reproduce
   
   With a Java class open, Tools > Options > Options Window, Editor Tab, Hints 
Tab
   Language : Java
   Assignment Issues : Check Value of increment/decrement expression used
   
   ```
       private int a = 0;
       private final int b = a++;
       private final int c = ++a;
   ```
   
   In the source line number column yellow hint warning, the increment tooltip 
is displayed for both increment and decrement.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Win 11
   
   ### JDK
   
   openjdk version 21.0.9
   
   ### Apache NetBeans packaging
   
   Community 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to