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: [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