mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix Java | Code style issues | Diamond can be replaced with explicit type arguments inspection description
Merge-request: IJ-MR-159746 Merged-by: Victoria Petrakovich <Victoria.Petrakovich@jetbrains.com> GitOrigin-RevId: 87b55783692ab93e7bc5de6d3ec28b83cb2c0b8e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3cce5f525b
commit
93f981f72b
+2
-2
@@ -5,9 +5,9 @@ Reports instantiation of generic classes in which the <b><></b> symbol (di
|
||||
|
||||
<p>The quick-fix replaces <b><></b> (diamond) with explicit type parameters.</p>
|
||||
<p>Example:</p>
|
||||
<pre><code>List <String> list = new ArrayList<>()</code></pre>
|
||||
<pre><code>List<String> list = new ArrayList<>()</code></pre>
|
||||
<p>After the quick-fix is applied:</p>
|
||||
<pre><code>List <String> list = new ArrayList<String>()</code></pre>
|
||||
<pre><code>List<String> list = new ArrayList<String>()</code></pre>
|
||||
<!-- tooltip end -->
|
||||
<p>
|
||||
<i>Diamond operation</i> appeared in Java 7.
|
||||
|
||||
Reference in New Issue
Block a user