mbien commented on pull request #3656:
URL: https://github.com/apache/netbeans/pull/3656#issuecomment-1049295536
I am sure you know, but I just wanted to add that we have to be super
careful in refactorings like this, if some code does identity comparisons with
==, it can break. Thats the reason why #2498 got stuck.
```java
System.out.println(new Integer(5) == new Integer(5)); // false
System.out.println(new Integer(5) == Integer.valueOf(5)); // false
System.out.println(5 == new Integer(5)); // true
System.out.println(5 == Integer.valueOf(5)); // true
...
```
--
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