mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix <!-- tooltip end --> problems in Groovy inspection descriptions
This commit is contained in:
-1
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports unnecessary <code>def</code> modifiers when used with explicit type declaration.
|
||||
<!-- tooltip end -->
|
||||
<p>For example:</p>
|
||||
<pre>
|
||||
def boolean foo() {} // modifier is unnecessary
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports unnecessary semicolons.
|
||||
<!-- tooltip end -->
|
||||
<p>For example:</p>
|
||||
<pre>
|
||||
print 2; print 3 // semicolon is required
|
||||
|
||||
+2
-2
@@ -1,14 +1,14 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports unused default parameters.
|
||||
<!-- tooltip end -->
|
||||
<pre>
|
||||
def foo(a, b = 2) {}
|
||||
</pre>
|
||||
If all <code>foo</code> calls will explicitly include argument for <code>b</code>
|
||||
then initializer for <code>b</code> will be highlighted as unused with option to remove it.
|
||||
<!-- tooltip end -->
|
||||
<p>
|
||||
<span style="font-size: small;">New in 2016.3</span>
|
||||
<small>New in 2016.3</small>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user