mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 12:08:00 +01:00
s/ the the / the /g
This commit is contained in:
parent
07f157b00f
commit
3a84a1ff47
19 changed files with 21 additions and 21 deletions
|
@ -256,7 +256,7 @@ public class RosterSmackTest extends SmackTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Create an unfiled entry with no name
|
* 1. Create an unfiled entry with no name
|
||||||
* 2. Check that the the entry does not belong to any group
|
* 2. Check that the entry does not belong to any group
|
||||||
* 3. Change its name and add it to a group
|
* 3. Change its name and add it to a group
|
||||||
* 4. Check that the name has been modified and that the entry belongs to a group
|
* 4. Check that the name has been modified and that the entry belongs to a group
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -799,7 +799,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
|
||||||
// Indicate that we're now authenticated.
|
// Indicate that we're now authenticated.
|
||||||
this.authenticated = true;
|
this.authenticated = true;
|
||||||
|
|
||||||
// If debugging is enabled, change the the debug window title to include the
|
// If debugging is enabled, change the debug window title to include the
|
||||||
// name we are now logged-in as.
|
// name we are now logged-in as.
|
||||||
// If DEBUG was set to true AFTER the connection was created the debugger
|
// If DEBUG was set to true AFTER the connection was created the debugger
|
||||||
// will be null
|
// will be null
|
||||||
|
|
|
@ -380,7 +380,7 @@ public interface XMPPConnection {
|
||||||
/**
|
/**
|
||||||
* Registers a stanza listener with this connection. The listener will be invoked when a (matching) incoming stanza
|
* Registers a stanza listener with this connection. The listener will be invoked when a (matching) incoming stanza
|
||||||
* is received. The stanza filter determines which stanzas will be delivered to the listener. It is guaranteed that
|
* is received. The stanza filter determines which stanzas will be delivered to the listener. It is guaranteed that
|
||||||
* the same listener will not be invoked concurrently and the the order of invocation will reflect the order in
|
* the same listener will not be invoked concurrently and the order of invocation will reflect the order in
|
||||||
* which the stanzas have been received. If the same stanza listener is added again with a different filter, only
|
* which the stanzas have been received. If the same stanza listener is added again with a different filter, only
|
||||||
* the new filter will be used.
|
* the new filter will be used.
|
||||||
*
|
*
|
||||||
|
|
|
@ -111,7 +111,7 @@ public abstract class StanzaBuilder<B extends StanzaBuilder<B>> implements Stanz
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets who the the stanza is being sent "from".
|
* Sets who the stanza is being sent "from".
|
||||||
*
|
*
|
||||||
* @param from who the stanza is being sent from.
|
* @param from who the stanza is being sent from.
|
||||||
* @return a reference to this builder.
|
* @return a reference to this builder.
|
||||||
|
|
|
@ -237,7 +237,7 @@ public final class MamManager extends Manager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The the XMPP address of this MAM archive. Note that this method may return {@code null} if this MamManager
|
* the XMPP address of this MAM archive. Note that this method may return {@code null} if this MamManager
|
||||||
* handles the local entity's archive and if the connection has never been authenticated at least once.
|
* handles the local entity's archive and if the connection has never been authenticated at least once.
|
||||||
*
|
*
|
||||||
* @return the XMPP address of this MAM archive or {@code null}.
|
* @return the XMPP address of this MAM archive or {@code null}.
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class MultiUserChatCreationTest extends SmackTestCase {
|
||||||
// Create the room
|
// Create the room
|
||||||
muc.create("testbot1");
|
muc.create("testbot1");
|
||||||
|
|
||||||
// Get the the room's configuration form
|
// Get the room's configuration form
|
||||||
Form form = muc.getConfigurationForm();
|
Form form = muc.getConfigurationForm();
|
||||||
assertNotNull("No room configuration form", form);
|
assertNotNull("No room configuration form", form);
|
||||||
// Create a new form to submit based on the original form
|
// Create a new form to submit based on the original form
|
||||||
|
|
|
@ -94,7 +94,7 @@ public final class ChatStateManager extends Manager {
|
||||||
* not yet exist.
|
* not yet exist.
|
||||||
*
|
*
|
||||||
* @param connection the connection to return the ChatStateManager
|
* @param connection the connection to return the ChatStateManager
|
||||||
* @return the ChatStateManager related the the connection.
|
* @return the ChatStateManager related the connection.
|
||||||
*/
|
*/
|
||||||
public static synchronized ChatStateManager getInstance(final XMPPConnection connection) {
|
public static synchronized ChatStateManager getInstance(final XMPPConnection connection) {
|
||||||
ChatStateManager manager = INSTANCES.get(connection);
|
ChatStateManager manager = INSTANCES.get(connection);
|
||||||
|
|
|
@ -108,7 +108,7 @@ public abstract class AdHocCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the the human readable name of the command, usually used for
|
* Set the human readable name of the command, usually used for
|
||||||
* displaying in a UI.
|
* displaying in a UI.
|
||||||
*
|
*
|
||||||
* @param name the name.
|
* @param name the name.
|
||||||
|
|
|
@ -111,7 +111,7 @@ public class IncomingFileTransfer extends FileTransfer {
|
||||||
* @param file The location to save the file.
|
* @param file The location to save the file.
|
||||||
* @throws SmackException when the file transfer fails
|
* @throws SmackException when the file transfer fails
|
||||||
* @throws IOException if an I/O error occurred.
|
* @throws IOException if an I/O error occurred.
|
||||||
* @throws IllegalArgumentException This exception is thrown when the the provided file is
|
* @throws IllegalArgumentException This exception is thrown when the provided file is
|
||||||
* either null, or cannot be written to.
|
* either null, or cannot be written to.
|
||||||
*/
|
*/
|
||||||
public void receiveFile(final File file) throws SmackException, IOException {
|
public void receiveFile(final File file) throws SmackException, IOException {
|
||||||
|
|
|
@ -35,7 +35,7 @@ public interface InvitationListener {
|
||||||
* Called when the an invitation to join a MUC room is received.<p>
|
* Called when the an invitation to join a MUC room is received.<p>
|
||||||
*
|
*
|
||||||
* If the room is password-protected, the invitee will receive a password to use to join
|
* If the room is password-protected, the invitee will receive a password to use to join
|
||||||
* the room. If the room is members-only, the the invitee may be added to the member list.
|
* the room. If the room is members-only, the invitee may be added to the member list.
|
||||||
*
|
*
|
||||||
* @param conn the XMPPConnection that received the invitation.
|
* @param conn the XMPPConnection that received the invitation.
|
||||||
* @param room the room that invitation refers to.
|
* @param room the room that invitation refers to.
|
||||||
|
|
|
@ -67,7 +67,7 @@ public final class MucEnterConfiguration {
|
||||||
else {
|
else {
|
||||||
joinPresenceBuilder = builder.joinPresence.asBuilder();
|
joinPresenceBuilder = builder.joinPresence.asBuilder();
|
||||||
}
|
}
|
||||||
// Indicate the the client supports MUC
|
// Indicate the client supports MUC
|
||||||
joinPresenceBuilder.addExtension(new MUCInitialPresence(password, maxChars, maxStanzas, seconds,
|
joinPresenceBuilder.addExtension(new MUCInitialPresence(password, maxChars, maxStanzas, seconds,
|
||||||
since));
|
since));
|
||||||
joinPresence = joinPresenceBuilder.build();
|
joinPresence = joinPresenceBuilder.build();
|
||||||
|
|
|
@ -994,7 +994,7 @@ public class MultiUserChat {
|
||||||
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
||||||
*
|
*
|
||||||
* If the room is password-protected, the invitee will receive a password to use to join
|
* If the room is password-protected, the invitee will receive a password to use to join
|
||||||
* the room. If the room is members-only, the the invitee may be added to the member list.
|
* the room. If the room is members-only, the invitee may be added to the member list.
|
||||||
*
|
*
|
||||||
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
||||||
* @param reason the reason why the user is being invited.
|
* @param reason the reason why the user is being invited.
|
||||||
|
@ -1010,7 +1010,7 @@ public class MultiUserChat {
|
||||||
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
||||||
*
|
*
|
||||||
* If the room is password-protected, the invitee will receive a password to use to join
|
* If the room is password-protected, the invitee will receive a password to use to join
|
||||||
* the room. If the room is members-only, the the invitee may be added to the member list.
|
* the room. If the room is members-only, the invitee may be added to the member list.
|
||||||
*
|
*
|
||||||
* @param message the message to use for sending the invitation.
|
* @param message the message to use for sending the invitation.
|
||||||
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
||||||
|
@ -1040,7 +1040,7 @@ public class MultiUserChat {
|
||||||
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
* will be sent to the room which in turn will forward the invitation to the invitee.<p>
|
||||||
*
|
*
|
||||||
* If the room is password-protected, the invitee will receive a password to use to join
|
* If the room is password-protected, the invitee will receive a password to use to join
|
||||||
* the room. If the room is members-only, the the invitee may be added to the member list.
|
* the room. If the room is members-only, the invitee may be added to the member list.
|
||||||
*
|
*
|
||||||
* @param messageBuilder the message to use for sending the invitation.
|
* @param messageBuilder the message to use for sending the invitation.
|
||||||
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
* @param user the user to invite to the room.(e.g. hecate@shakespeare.lit)
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class ItemDeleteEvent extends SubscriptionEvent {
|
||||||
private List<String> itemIds = Collections.emptyList();
|
private List<String> itemIds = Collections.emptyList();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs an <code>ItemDeleteEvent</code> that indicates the the supplied
|
* Constructs an <code>ItemDeleteEvent</code> that indicates the supplied
|
||||||
* items (by id) have been deleted, and that the event matches the listed
|
* items (by id) have been deleted, and that the event matches the listed
|
||||||
* subscriptions. The subscriptions would have been created by calling
|
* subscriptions. The subscriptions would have been created by calling
|
||||||
* {@link LeafNode#subscribe(String)}.
|
* {@link LeafNode#subscribe(String)}.
|
||||||
|
|
|
@ -785,7 +785,7 @@ public final class Roster extends Manager {
|
||||||
*
|
*
|
||||||
* @param jid the XMPP address of the contact (e.g. johndoe@jabber.org)
|
* @param jid the XMPP address of the contact (e.g. johndoe@jabber.org)
|
||||||
* @param name the nickname of the user.
|
* @param name the nickname of the user.
|
||||||
* @param groups the list of group names the entry will belong to, or <code>null</code> 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 roster entry won't
|
||||||
* belong to a group.
|
* belong to a group.
|
||||||
* @throws NoResponseException if there was no response from the server.
|
* @throws NoResponseException if there was no response from the server.
|
||||||
* @throws XMPPErrorException if an XMPP exception occurs.
|
* @throws XMPPErrorException if an XMPP exception occurs.
|
||||||
|
|
|
@ -487,7 +487,7 @@ public final class JingleSession extends JingleNegotiator implements MediaReceiv
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The the packet.
|
// the packet.
|
||||||
// CHECKSTYLE:OFF
|
// CHECKSTYLE:OFF
|
||||||
if ((getConnection() != null) && getConnection().isConnected())
|
if ((getConnection() != null) && getConnection().isConnected())
|
||||||
getConnection().sendStanza(jout);
|
getConnection().sendStanza(jout);
|
||||||
|
|
|
@ -463,7 +463,7 @@ public class Workgroup {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an invitation listener that will be notified of groupchat invitations
|
* Adds an invitation listener that will be notified of groupchat invitations
|
||||||
* from the workgroup for the the user that created this Workgroup instance.
|
* from the workgroup for the user that created this Workgroup instance.
|
||||||
*
|
*
|
||||||
* @param invitationListener the invitation listener.
|
* @param invitationListener the invitation listener.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -31,7 +31,7 @@ public interface SigncryptElementReceivedListener {
|
||||||
* This listener is intended to be used by implementors of different OX usage profiles. In order to listen for
|
* This listener is intended to be used by implementors of different OX usage profiles. In order to listen for
|
||||||
* OX-IM messages, please refer to the {@link OxMessageListener} instead.
|
* OX-IM messages, please refer to the {@link OxMessageListener} instead.
|
||||||
* @param contact sender of the message
|
* @param contact sender of the message
|
||||||
* @param originalMessage original message containing the the {@link SigncryptElement}
|
* @param originalMessage original message containing the {@link SigncryptElement}
|
||||||
* @param signcryptElement the {@link SigncryptElement} itself
|
* @param signcryptElement the {@link SigncryptElement} itself
|
||||||
* @param metadata metadata about the encryption and signing
|
* @param metadata metadata about the encryption and signing
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -31,7 +31,7 @@ package org.jivesoftware.smack.sasl.javax;
|
||||||
* <li>javax.net.ssl.keyStore to the location of the keyStore
|
* <li>javax.net.ssl.keyStore to the location of the keyStore
|
||||||
* <li>javax.net.ssl.keyStorePassword to the password of the keyStore
|
* <li>javax.net.ssl.keyStorePassword to the password of the keyStore
|
||||||
* <li>javax.net.ssl.trustStore to the location of the trustStore
|
* <li>javax.net.ssl.trustStore to the location of the trustStore
|
||||||
* <li>javax.net.ssl.trustStorePassword to the the password of the trustStore
|
* <li>javax.net.ssl.trustStorePassword to the password of the trustStore
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* Then, when the server requests or requires the client certificate, java will
|
* Then, when the server requests or requires the client certificate, java will
|
||||||
|
|
|
@ -1443,7 +1443,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
// closed in shutdown().
|
// closed in shutdown().
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// The exception can be ignored if the the connection is 'done'
|
// The exception can be ignored if the connection is 'done'
|
||||||
// or if the it was caused because the socket got closed
|
// or if the it was caused because the socket got closed
|
||||||
if (!(done() || queue.isShutdown())) {
|
if (!(done() || queue.isShutdown())) {
|
||||||
// Set running to false since this thread will exit here and notifyConnectionError() will wait until
|
// Set running to false since this thread will exit here and notifyConnectionError() will wait until
|
||||||
|
|
Loading…
Reference in a new issue