mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java inspection: Renamed the inspection "Replace diamond with explicit type arguments" to a noun-based name - typo fixed. (IDEA-157727)
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
This inspection reports instantiation of generic classes where <b><></b> (diamond) is used instead of type parameters.
|
||||
<p>The quick fix replaces the <b><></b> (diamond) with the explicit type parameters.
|
||||
<p>Example of use of the diamond:
|
||||
<pre><code>List String> list = new ArrayList<>()</code></pre>
|
||||
<pre><code>List <String> list = new ArrayList<>()</code></pre>
|
||||
<p>The statement above is replaced with the following:
|
||||
<pre><code>List String> list = new ArrayList<String>()</code></pre>
|
||||
<pre><code>List <String> list = new ArrayList<String>()</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user