fix <!-- tooltip end --> problems in Groovy inspection descriptions

This commit is contained in:
Bas Leijdekkers
2017-02-25 14:47:26 +01:00
parent 8b0161fdad
commit 6a379d0668
3 changed files with 2 additions and 4 deletions
@@ -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
@@ -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>