mbien opened a new pull request, #4201:
URL: https://github.com/apache/netbeans/pull/4201
old:
```java
.toArray(new ${clazz}[${coll}.size()]);
```
new:
```java
.toArray(new ${clazz}[0]);
```
see #3166 for details
would have been nice if the template would be able to conditionally generate
the more modern version:
```java
.toArray(${clazz}[]::new);
```
--
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