mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[codeInspection] Fix platform inspection descriptions
GitOrigin-RevId: e7aa72a7617ed91803722dacf8b53cb21b7ff760
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6340eac498
commit
1a47dfe94d
+3
-3
@@ -4,11 +4,11 @@ Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgign
|
||||
Duplicate entries in these files are redundant and can be removed.
|
||||
|
||||
<p>Example:</p>
|
||||
<pre>
|
||||
<pre><code>
|
||||
# Output directories
|
||||
/out/
|
||||
/target/
|
||||
<b><span style="color: #BE9117; ">/out/</span></b>
|
||||
</pre>
|
||||
/out/
|
||||
</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,14 +7,14 @@ Reports usages of the following elements that can be safely removed because the
|
||||
<li><code>/** noinspection */</code> JavaDoc comment</li>
|
||||
</ul>
|
||||
<p>Example:</p>
|
||||
<pre><code>
|
||||
<b><font color="#000080">public class</font></b> C {
|
||||
<pre><code lang="java">
|
||||
public class C {
|
||||
// symbol is already private,
|
||||
// but annotation is still around
|
||||
@SuppressWarnings({"WeakerAccess"})
|
||||
<b><font color="#000080">private boolean</font></b> CONST = <b><font color="#000080">true</font></b>;
|
||||
<b><font color="#000080">void</font></b> f() {
|
||||
CONST = <b><font color="#000080">false</font></b>;
|
||||
private boolean CONST = true;
|
||||
void f() {
|
||||
CONST = false;
|
||||
}
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
Reports unresolved references injected by
|
||||
<a href="https://www.jetbrains.com/help/idea/using-language-injections.html">Language Injections</a>.
|
||||
<p>Example:</p>
|
||||
<pre>
|
||||
<pre><code lang="java">
|
||||
@Language("file-reference")
|
||||
String fileName = "/home/user/nonexistent.file"; // highlighted if file doesn't exist
|
||||
</pre>
|
||||
</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user