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: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists