Affects PMD Version: 6.11.0
Rule: UseDiamondOperator
Description:
False positive when using "var": You cannot omit the <String>
(if you want a typed array) but PMD complains.
Code Sample demonstrating the issue:
var foo = new ArrayList<String>(5);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4