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 error 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
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 error the root cause of the exception.
* @deprecated use {@link XMPPErrorException(XMPPError)} instead.
* @deprecated use {@link #XMPPErrorException(XMPPError)} instead.
*/
@Deprecated
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>.
* </p>
*
* @see DefaultExtensionElement
* @see org.jivesoftware.smack.provider.ExtensionElementProvider
* @author Matt Tucker
*/

View File

@ -131,7 +131,11 @@ public final class Roster extends Manager {
*/
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;

View File

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