1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 17:19:39 +02:00

Enable javadoc checkstyle

and fix violations.
This commit is contained in:
Florian Schmaus 2015-03-29 12:15:32 +02:00
parent 57260b2a44
commit 64d134052d
198 changed files with 529 additions and 501 deletions

View file

@ -19,9 +19,6 @@ package org.jivesoftware.smack.chat;
import org.jivesoftware.smack.packet.Message;
/**
*
*/
public interface ChatMessageListener {
void processMessage(Chat chat, Message message);
}

View file

@ -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.

View file

@ -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;

View file

@ -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,

View file

@ -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

View file

@ -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 {

View file

@ -79,7 +79,7 @@ public class DirectoryRosterStoreTest {
}
/**
* Tests adding and removing entries
* Tests adding and removing entries.
*/
@Test
public void testStoreAddRemove() throws IOException {