mbien commented on code in PR #7053: URL: https://github.com/apache/netbeans/pull/7053#discussion_r1490249812
########## php/php.dbgp/src/org/netbeans/modules/php/dbgp/models/ThreadsModel.java: ########## @@ -125,7 +125,7 @@ public Object[] getChildren(Object parent, int from, int to) ArrayList<DebugSession> list = new ArrayList<>(); if (debugSession != null) {list.add(debugSession);} List<DebugSession> result = list.subList( from , end ); - return result.toArray( new Object[ result.size() ] ); + return result.toArray(new Object[ 0 ] ); Review Comment: done locally, will be in next update -- 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