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

Javadoc changes for Java 11 compatibility

This commit is contained in:
Florian Schmaus 2019-07-19 18:10:36 +02:00
parent 8fa90113c9
commit 91ec6cc955
58 changed files with 177 additions and 177 deletions

View file

@ -65,7 +65,7 @@ public class Chat {
/**
* Returns the thread id associated with this chat, which corresponds to the
* <tt>thread</tt> field of XMPP messages. This method may return <tt>null</tt>
* <code>thread</code> field of XMPP messages. This method may return <code>null</code>
* if there is no thread ID is associated with this Chat.
*
* @return the thread ID of this chat.

View file

@ -637,7 +637,7 @@ public final class Roster extends Manager {
*
* @param user the user. (e.g. johndoe@jabber.org)
* @param name the nickname of the user.
* @param groups the list of group names the entry will belong to, or <tt>null</tt> if the
* @param groups the list of group names the entry will belong to, or <code>null</code> if the
* the roster entry won't belong to a group.
* @throws NoResponseException if there was no response from the server.
* @throws XMPPErrorException if an XMPP exception occurs.
@ -662,7 +662,7 @@ public final class Roster extends Manager {
*
* @param jid the XMPP address of the contact (e.g. johndoe@jabber.org)
* @param name the nickname of the user.
* @param groups the list of group names the entry will belong to, or <tt>null</tt> if the the roster entry won't
* @param groups the list of group names the entry will belong to, or <code>null</code> if the the roster entry won't
* belong to a group.
* @throws NoResponseException if there was no response from the server.
* @throws XMPPErrorException if an XMPP exception occurs.
@ -695,7 +695,7 @@ public final class Roster extends Manager {
*
* @param jid the XMPP address of the contact (e.g. johndoe@jabber.org)
* @param name the nickname of the user.
* @param groups the list of group names the entry will belong to, or <tt>null</tt> if the
* @param groups the list of group names the entry will belong to, or <code>null</code> if the
* the roster entry won't belong to a group.
* @throws NoResponseException if there was no response from the server.
* @throws XMPPErrorException if an XMPP exception occurs.
@ -716,7 +716,7 @@ public final class Roster extends Manager {
*
* @param user the user. (e.g. johndoe@jabber.org)
* @param name the nickname of the user.
* @param groups the list of group names the entry will belong to, or <tt>null</tt> if the
* @param groups the list of group names the entry will belong to, or <code>null</code> if the
* the roster entry won't belong to a group.
* @throws NoResponseException if there was no response from the server.
* @throws XMPPErrorException if an XMPP exception occurs.
@ -913,11 +913,11 @@ public final class Roster extends Manager {
/**
* Returns the roster entry associated with the given XMPP address or
* <tt>null</tt> if the user is not an entry in the roster.
* <code>null</code> if the user is not an entry in the roster.
*
* @param jid the XMPP address of the user (eg "jsmith@example.com"). The address could be
* in any valid format (e.g. "domain/resource", "user@domain" or "user@domain/resource").
* @return the roster entry or <tt>null</tt> if it does not exist.
* @return the roster entry or <code>null</code> if it does not exist.
*/
public RosterEntry getEntry(BareJid jid) {
if (jid == null) {
@ -939,7 +939,7 @@ public final class Roster extends Manager {
}
/**
* Returns the roster group with the specified name, or <tt>null</tt> if the
* Returns the roster group with the specified name, or <code>null</code> if the
* group doesn't exist.
*
* @param name the name of the group.

View file

@ -114,10 +114,10 @@ public class RosterGroup extends Manager {
/**
* Returns the roster entry associated with the given XMPP address or
* <tt>null</tt> if the user is not an entry in the group.
* <code>null</code> if the user is not an entry in the group.
*
* @param user the XMPP address of the user (eg "jsmith@example.com").
* @return the roster entry or <tt>null</tt> if it does not exist in the group.
* @return the roster entry or <code>null</code> if it does not exist in the group.
*/
public RosterEntry getEntry(Jid user) {
if (user == null) {