mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Enable javadoc checkstyle
and fix violations.
This commit is contained in:
parent
57260b2a44
commit
64d134052d
198 changed files with 529 additions and 501 deletions
|
@ -19,9 +19,6 @@ package org.jivesoftware.smack.chat;
|
|||
|
||||
import org.jivesoftware.smack.packet.Message;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public interface ChatMessageListener {
|
||||
void processMessage(Chat chat, Message message);
|
||||
}
|
||||
|
|
|
@ -323,7 +323,7 @@ public class Roster extends Manager {
|
|||
}
|
||||
|
||||
/**
|
||||
* Set the roster store, may cause a roster reload
|
||||
* Set the roster store, may cause a roster reload.
|
||||
*
|
||||
* @param rosterStore
|
||||
* @return true if the roster reload was initiated, false otherwise.
|
||||
|
|
|
@ -311,12 +311,12 @@ public class RosterPacket extends IQ {
|
|||
*/
|
||||
public static enum ItemStatus {
|
||||
/**
|
||||
* Request to subscribe
|
||||
* Request to subscribe.
|
||||
*/
|
||||
subscribe,
|
||||
|
||||
/**
|
||||
* Request to unsubscribe
|
||||
* Request to unsubscribe.
|
||||
*/
|
||||
unsubscribe;
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ public class DirectoryRosterStore implements RosterStore {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new roster store on disk
|
||||
* Creates a new roster store on disk.
|
||||
*
|
||||
* @param baseDir
|
||||
* The directory to create the store in. The directory should
|
||||
|
@ -94,7 +94,7 @@ public class DirectoryRosterStore implements RosterStore {
|
|||
}
|
||||
|
||||
/**
|
||||
* Opens a roster store
|
||||
* Opens a roster store.
|
||||
* @param baseDir
|
||||
* The directory containing the roster store.
|
||||
* @return A {@link DirectoryRosterStore} instance if successful,
|
||||
|
|
|
@ -60,7 +60,7 @@ public interface RosterStore {
|
|||
*/
|
||||
public boolean resetEntries(Collection<RosterPacket.Item> items, String version);
|
||||
/**
|
||||
* Removes an entry from the store
|
||||
* Removes an entry from the store.
|
||||
* @param bareJid The bare JID of the entry to be removed
|
||||
* @param version the new roster version
|
||||
* @return True if successful
|
||||
|
|
|
@ -49,7 +49,7 @@ import org.jxmpp.stringprep.XmppStringprepException;
|
|||
|
||||
/**
|
||||
* Tests that verify the correct behavior of the {@link Roster} implementation
|
||||
* with regard to roster versioning
|
||||
* with regard to roster versioning.
|
||||
*
|
||||
* @see Roster
|
||||
* @see <a href="http://xmpp.org/rfcs/rfc6121.html#roster">Managing the Roster</a>
|
||||
|
@ -172,7 +172,7 @@ public class RosterVersioningTest {
|
|||
}
|
||||
|
||||
/**
|
||||
* Test roster versioning with roster pushes
|
||||
* Test roster versioning with roster pushes.
|
||||
*/
|
||||
@Test(timeout = 5000)
|
||||
public void testRosterVersioningWithCachedRosterAndPushes() throws Throwable {
|
||||
|
|
|
@ -79,7 +79,7 @@ public class DirectoryRosterStoreTest {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests adding and removing entries
|
||||
* Tests adding and removing entries.
|
||||
*/
|
||||
@Test
|
||||
public void testStoreAddRemove() throws IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue