mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
14 lines
406 B
HTML
14 lines
406 B
HTML
<html>
|
|
<body>
|
|
Reports <code>new</code> expressions with type arguments that can be replaced a with diamond type <code><></code>.
|
|
<p>Example:</p>
|
|
<pre><code>
|
|
List<String> list = new ArrayList<String>(); // reports array list type argument
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
List<String> list = new ArrayList<>();
|
|
</code></pre>
|
|
</body>
|
|
</html>
|