mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Fixes spelling (includes one API change)
Mostly benign changes. Added one new method to replace a method with a spelling mistake in its name. Kept the old method, marked as 'deprecated'.
This commit is contained in:
parent
38c6dd21b4
commit
c85bcadd81
140 changed files with 270 additions and 265 deletions
|
@ -64,7 +64,7 @@ public class AgentRoster {
|
|||
private final List<AgentRosterListener> listeners = new ArrayList<>();
|
||||
private final Map<Jid, Map<Resourcepart, Presence>> presenceMap = new HashMap<>();
|
||||
// The roster is marked as initialized when at least a single roster packet
|
||||
// has been recieved and processed.
|
||||
// has been received and processed.
|
||||
boolean rosterInitialized = false;
|
||||
|
||||
/**
|
||||
|
@ -181,7 +181,7 @@ public class AgentRoster {
|
|||
/**
|
||||
* Returns true if the specified XMPP address is an agent in the workgroup.
|
||||
*
|
||||
* @param jid the XMPP address of the agent (eg "jsmith@example.com"). The
|
||||
* @param jid the XMPP address of the agent (e.g."jsmith@example.com"). The
|
||||
* address can be in any valid format (e.g. "domain/resource", "user@domain"
|
||||
* or "user@domain/resource").
|
||||
* @return true if the XMPP address is an agent in the workgroup.
|
||||
|
@ -208,7 +208,7 @@ public class AgentRoster {
|
|||
* @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 <code>null</code> if the agent is unavailable
|
||||
* or if no presence information is available..
|
||||
* or if no presence information is available.
|
||||
*/
|
||||
public Presence getPresence(Jid user) {
|
||||
Jid key = getPresenceMapKey(user);
|
||||
|
|
|
@ -125,7 +125,7 @@ public class Offer {
|
|||
}
|
||||
|
||||
/**
|
||||
* The fully qualified name of the workgroup (eg support@example.com).
|
||||
* The fully qualified name of the workgroup (e.g.support@example.com).
|
||||
*
|
||||
* @return the name of the workgroup.
|
||||
*/
|
||||
|
@ -137,7 +137,7 @@ public class Offer {
|
|||
* The date when the offer will expire. The agent must {@link #accept()}
|
||||
* the offer before the expiration date or the offer will lapse and be
|
||||
* routed to another agent. Alternatively, the agent can {@link #reject()}
|
||||
* the offer at any time if they don't wish to accept it..
|
||||
* the offer at any time if they don't wish to accept it.
|
||||
*
|
||||
* @return the date at which this offer expires.
|
||||
*/
|
||||
|
|
|
@ -37,7 +37,7 @@ public interface OfferListener {
|
|||
void offerReceived (Offer request);
|
||||
|
||||
/**
|
||||
* The implementing class instance will be notified via this when the AgentSessino has received
|
||||
* The implementing class instance will be notified via this when the AgentSession has received
|
||||
* a revocation of a previously extended offer.
|
||||
*
|
||||
* @param revokedOffer the RevokedOffer instance embodying the details of the revoked offer
|
||||
|
|
|
@ -91,7 +91,7 @@ public class Workgroup {
|
|||
|
||||
/**
|
||||
* Creates a new workgroup instance using the specified workgroup JID
|
||||
* (eg support@workgroup.example.com) and XMPP connection. The connection must have
|
||||
* (e.g.support@workgroup.example.com) and XMPP connection. The connection must have
|
||||
* undergone a successful login before being used to construct an instance of
|
||||
* this class.
|
||||
*
|
||||
|
@ -137,7 +137,7 @@ public class Workgroup {
|
|||
});
|
||||
|
||||
/**
|
||||
* Internal handling of an invitation.Recieving an invitation removes the user from the queue.
|
||||
* Internal handling of an invitation. Receiving an invitation removes the user from the queue.
|
||||
*/
|
||||
MultiUserChatManager.getInstanceFor(connection).addInvitationListener(
|
||||
new org.jivesoftware.smackx.muc.InvitationListener() {
|
||||
|
@ -162,7 +162,7 @@ public class Workgroup {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the name of this workgroup (eg support@example.com).
|
||||
* Returns the name of this workgroup (e.g.support@example.com).
|
||||
*
|
||||
* @return the name of the workgroup.
|
||||
*/
|
||||
|
@ -735,9 +735,9 @@ public class Workgroup {
|
|||
}
|
||||
|
||||
/**
|
||||
* Asks the workgroup for it's Properties.
|
||||
* Asks the workgroup for its Properties.
|
||||
*
|
||||
* @param jid the jid of the user who's information you would like the workgroup to retreive.
|
||||
* @param jid the jid of the user whose information you would like the workgroup to retrieve.
|
||||
* @return the WorkgroupProperties for the specified workgroup.
|
||||
* @throws XMPPErrorException if there was an XMPP error returned.
|
||||
* @throws NoResponseException if there was no response from the remote entity.
|
||||
|
|
|
@ -42,7 +42,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
*
|
||||
* Manages Roster exchanges. A RosterExchangeManager provides a high level access to send
|
||||
* Manages Roster exchanges. A RosterExchangeManager provides high level access to send
|
||||
* rosters, roster groups and roster entries to XMPP clients. It also provides an easy way
|
||||
* to hook up custom logic when entries are received from another XMPP client through
|
||||
* RosterExchangeListeners.
|
||||
|
@ -106,7 +106,7 @@ public class RosterExchangeManager {
|
|||
* Removes a listener from roster exchanges. The listener will be fired anytime roster
|
||||
* entries are received from remote XMPP clients.
|
||||
*
|
||||
* @param rosterExchangeListener a roster exchange listener..
|
||||
* @param rosterExchangeListener a roster exchange listener.
|
||||
*/
|
||||
public void removeRosterListener(RosterExchangeListener rosterExchangeListener) {
|
||||
rosterExchangeListeners.remove(rosterExchangeListener);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue