1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 15:32:06 +01:00

Fix javadoc warnings

This commit is contained in:
Florian Schmaus 2015-12-19 13:30:15 +01:00
parent 46f0110949
commit f79a7d9d5f
4 changed files with 8 additions and 5 deletions

View file

@ -94,7 +94,7 @@ public abstract class XMPPException extends Exception {
* @param message a description of the exception. * @param message a description of the exception.
* @param error the root cause of the exception. * @param error the root cause of the exception.
* @param wrappedThrowable the root cause of the exception. * @param wrappedThrowable the root cause of the exception.
* @deprecated use {@link XMPPErrorException(XMPPError)} instead. * @deprecated use {@link #XMPPErrorException(XMPPError)} instead.
*/ */
@Deprecated @Deprecated
public XMPPErrorException(String message, XMPPError error, Throwable wrappedThrowable) { public XMPPErrorException(String message, XMPPError error, Throwable wrappedThrowable) {
@ -108,7 +108,7 @@ public abstract class XMPPException extends Exception {
* *
* @param message a description of the exception. * @param message a description of the exception.
* @param error the root cause of the exception. * @param error the root cause of the exception.
* @deprecated use {@link XMPPErrorException(XMPPError)} instead. * @deprecated use {@link #XMPPErrorException(XMPPError)} instead.
*/ */
@Deprecated @Deprecated
public XMPPErrorException(String message, XMPPError error) { public XMPPErrorException(String message, XMPPError error) {

View file

@ -30,7 +30,6 @@ package org.jivesoftware.smack.packet;
* information see <a href="https://tools.ietf.org/html/rfc6120#section-8.4">RFC 6120 § 8.4 Extended Content</a>. * information see <a href="https://tools.ietf.org/html/rfc6120#section-8.4">RFC 6120 § 8.4 Extended Content</a>.
* </p> * </p>
* *
* @see DefaultExtensionElement
* @see org.jivesoftware.smack.provider.ExtensionElementProvider * @see org.jivesoftware.smack.provider.ExtensionElementProvider
* @author Matt Tucker * @author Matt Tucker
*/ */

View file

@ -131,7 +131,11 @@ public final class Roster extends Manager {
*/ */
private static SubscriptionMode defaultSubscriptionMode = SubscriptionMode.accept_all; private static SubscriptionMode defaultSubscriptionMode = SubscriptionMode.accept_all;
private static final int INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE = 1024; /**
* The initial maximum size of the map holding presence information of entities without an Roster entry. Currently
* {@value #INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE}.
*/
public static final int INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE = 1024;
private static int defaultNonRosterPresenceMapMaxSize = INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE; private static int defaultNonRosterPresenceMapMaxSize = INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE;

View file

@ -75,7 +75,7 @@ public interface RosterListener {
* presence packets will not cause this method to be called. * presence packets will not cause this method to be called.
* *
* @param presence the presence that changed. * @param presence the presence that changed.
* @see Roster#getPresence(BareJid) * @see Roster#getPresence(org.jxmpp.jid.BareJid)
*/ */
public void presenceChanged(Presence presence); public void presenceChanged(Presence presence);
} }