matthiasblaesing commented on code in PR #5714:
URL: https://github.com/apache/netbeans/pull/5714#discussion_r1148447830
##########
platform/openide.explorer/src/org/openide/explorer/view/NodeTableModel.java:
##########
@@ -218,9 +218,9 @@ private void computeVisiblePorperties(int visCount) {
int vi = allPropertyColumns[i].getVisibleIndex();
if (vi == -1) {
- sort.put(new Double(i - 0.1), Integer.valueOf(i));
+ sort.put(Double.valueOf(i - 0.1), Integer.valueOf(i));
} else {
- sort.put(new Double(vi), Integer.valueOf(i));
+ sort.put(Double.valueOf(vi), Integer.valueOf(i));
Review Comment:
Final thought: please compare to
`ide/bugtracking.commons/src/org/netbeans/modules/bugtracking/issuetable/NodeTableModel.java`.
The logic looks identical, aligning the code would be logical IMHO.
--
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