A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1723 below:

[java] UseDiamondOperator false-positive inside lambda · Issue #1723 · pmd/pmd · GitHub

Rule: UseDiamondOperator

PMD version is 6.12.0.

This is related to another issue with the same rule.

This time I get it in a lambda:

Runnable someAction = () -> {
    var foo = new ArrayList<String>(5);
    String x = foo.get(0);
    System.err.println(x);
};

By the way, thank you for working on PMD! It's an amazing tool!


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