[javadoc inspection]: fix unrelated tests for "JavadocDeclaration"

GitOrigin-RevId: bcd2694ca67951f18f4b87bd2a34d6d2ae585281
This commit is contained in:
Alexandr Suhinin
2022-01-26 22:56:08 +02:00
committed by intellij-monorepo-bot
parent 66dc4f4509
commit 4ded859fcc
6 changed files with 3 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
class Test {
<warning descr="Required tag '@throws' java.lang.Exception is missing">/**</warning>
/**
* @throws <warning descr="Class java.lang.Integer is not a descendant of Throwable">Integer</warning> sometimes
*/
public void foo() throws Exception {}

View File

@@ -1,7 +0,0 @@
class Test {
<warning descr="Required tag '@throws' java.io.IOException is missing">/**</warning>
* @throws java.lang.ArrayIndexOutOfBoundsException in some case
*/
void foo() throws java.io.IOException, java.lang.ArrayIndexOutOfBoundsException {
}
}

View File

@@ -1,6 +0,0 @@
class Test {
<warning descr="Required tag '@param' is missing for parameter '<T>'">/**</warning>
* period.
*/
public <T> void f() {}
}

View File

@@ -1,5 +1,4 @@
/**
* @uses
* <warning descr="Class reference expected">@uses</warning>
*/
@Deprecated
module M2 { }

View File

@@ -1 +0,0 @@
<warning descr="Required Javadoc is absent">package p1;</warning>