mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-04 15:15:23 +00:00
Merge branch 'JDK-8354447' into JDK-8348611
This commit is contained in:
commit
f2bab529d2
@ -45,4 +45,13 @@ public /** Misplaced: after mods. */ class DanglingDocCommentsClass /** Misplace
|
||||
/** Good comment. */
|
||||
int i = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** Dangling comment X */
|
||||
|
||||
/**
|
||||
* The {@code @SuppressWarnings} annotation below retroactively
|
||||
* silences the warning about "Dangling comment X".
|
||||
*/
|
||||
@SuppressWarnings("dangling-doc-comments")
|
||||
public void m5() { }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user