1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +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

@ -201,12 +201,12 @@ public class AgentRoster {
}
/**
* Returns the presence info for a particular agent, or <tt>null</tt> if the agent
* Returns the presence info for a particular agent, or <code>null</code> if the agent
* is unavailable (offline) or if no presence information is available.<p>
*
* @param user a fully qualified xmpp JID. The address could be in any valid format (e.g.
* "domain/resource", "user@domain" or "user@domain/resource").
* @return the agent's current presence, or <tt>null</tt> if the agent is unavailable
* @return the agent's current presence, or <code>null</code> if the agent is unavailable
* or if no presence information is available..
*/
public Presence getPresence(Jid user) {

View file

@ -119,7 +119,7 @@ public class AgentSession {
/**
* Constructs a new agent session instance. Note, the {@link #setOnline(boolean)}
* method must be called with an argument of <tt>true</tt> to mark the agent
* method must be called with an argument of <code>true</code> to mark the agent
* as available to accept chat requests.
*
* @param connection a connection instance which must have already gone through
@ -307,7 +307,7 @@ public class AgentSession {
* Allows the retrieval of meta data for a specified key.
*
* @param key the meta data key
* @return the meta data value associated with the key or <tt>null</tt> if the meta-data
* @return the meta data value associated with the key or <code>null</code> if the meta-data
* doesn't exist..
*/
public List<String> getMetaData(String key) {

View file

@ -122,7 +122,7 @@ public class WorkgroupQueue {
/**
* Returns the date of the oldest request waiting in the queue. If there
* are no requests waiting to be routed, this method will return <tt>null</tt>.
* are no requests waiting to be routed, this method will return <code>null</code>.
*
* @return the date of the oldest request in the queue.
*/

View file

@ -159,7 +159,7 @@ public class OfferRequestProvider extends IQProvider<IQ> {
/**
* Returns the session ID associated with the request and ensuing chat. If the offer
* does not contain a session ID, <tt>null</tt> will be returned.
* does not contain a session ID, <code>null</code> will be returned.
*
* @return the session id associated with the request.
*/

View file

@ -334,7 +334,7 @@ public class Workgroup {
*
* @param answerForm the completed form associated with the join request.
* @param userID String that represents the ID of the user when using anonymous sessions
* or <tt>null</tt> if a userID should not be used.
* or <code>null</code> if a userID should not be used.
* @throws XMPPErrorException if an error occurred joining the queue. An error may indicate
* that a connection failure occurred or that the server explicitly rejected the
* request to join the queue.
@ -383,7 +383,7 @@ public class Workgroup {
*
* @param metadata metadata to create a dataform from.
* @param userID String that represents the ID of the user when using anonymous sessions
* or <tt>null</tt> if a userID should not be used.
* or <code>null</code> if a userID should not be used.
* @throws XMPPException if an error occurred joining the queue. An error may indicate
* that a connection failure occurred or that the server explicitly rejected the
* request to join the queue.

View file

@ -103,7 +103,7 @@ public final class MessageEventManager extends Manager {
/**
* Adds event notification requests to a message. For each event type that
* the user wishes event notifications from the message recipient for, <tt>true</tt>
* the user wishes event notifications from the message recipient for, <code>true</code>
* should be passed in to this method.
*
* @param message the message to add the requested notifications.

View file

@ -45,7 +45,7 @@ public class RemoteRosterEntry {
*
* @param user the user.
* @param name the user's name.
* @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.
*/
public RemoteRosterEntry(Jid user, String name, String[] groups) {