1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

[checkstyle] Tighten JavadocMethod checkstyle rule

This commit is contained in:
Florian Schmaus 2020-05-23 22:35:27 +02:00
parent 5bfe789e08
commit ebe5c49e92
12 changed files with 45 additions and 34 deletions

View file

@ -29,6 +29,7 @@ public class ProviderManagerTest {
/**
* This test should be run in a clean (e.g. forked) VM
* @throws Exception if exception.
*/
@Test
public void shouldInitializeSmackTest() throws Exception {

View file

@ -150,6 +150,7 @@ public class DummyConnection extends AbstractXMPPConnection {
* Returns the first stanza that's sent through {@link #sendStanza(Stanza)}
* and that has not been returned by earlier calls to this method.
*
* @param <P> the top level stream element class.
* @return a sent packet.
*/
public <P extends TopLevelStreamElement> P getSentPacket() {
@ -162,6 +163,8 @@ public class DummyConnection extends AbstractXMPPConnection {
* method will block for up to the specified number of seconds if no packets
* have been sent yet.
*
* @param wait how long to wait in seconds.
* @param <P> the top level stream element class.
* @return a sent packet.
*/
@SuppressWarnings("unchecked")