s/ the the / the /g

This commit is contained in:
Guus der Kinderen 2023-01-19 16:16:12 +01:00 committed by Florian Schmaus
parent 07f157b00f
commit 3a84a1ff47
19 changed files with 21 additions and 21 deletions

View File

@ -256,7 +256,7 @@ public class RosterSmackTest extends SmackTestCase {
/**
* 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
* 4. Check that the name has been modified and that the entry belongs to a group
*/

View File

@ -799,7 +799,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
// Indicate that we're now authenticated.
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.
// If DEBUG was set to true AFTER the connection was created the debugger
// will be null

View File

@ -380,7 +380,7 @@ public interface XMPPConnection {
/**
* 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
* 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
* the new filter will be used.
*

View File

@ -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.
* @return a reference to this builder.

View File

@ -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.
*
* @return the XMPP address of this MAM archive or {@code null}.

View File

@ -52,7 +52,7 @@ public class MultiUserChatCreationTest extends SmackTestCase {
// Create the room
muc.create("testbot1");
// Get the the room's configuration form
// Get the room's configuration form
Form form = muc.getConfigurationForm();
assertNotNull("No room configuration form", form);
// Create a new form to submit based on the original form

View File

@ -94,7 +94,7 @@ public final class ChatStateManager extends Manager {
* not yet exist.
*
* @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) {
ChatStateManager manager = INSTANCES.get(connection);

View File

@ -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.
*
* @param name the name.

View File

@ -111,7 +111,7 @@ public class IncomingFileTransfer extends FileTransfer {
* @param file The location to save the file.
* @throws SmackException when the file transfer fails
* @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.
*/
public void receiveFile(final File file) throws SmackException, IOException {

View File

@ -35,7 +35,7 @@ public interface InvitationListener {
* 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
* 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 room the room that invitation refers to.

View File

@ -67,7 +67,7 @@ public final class MucEnterConfiguration {
else {
joinPresenceBuilder = builder.joinPresence.asBuilder();
}
// Indicate the the client supports MUC
// Indicate the client supports MUC
joinPresenceBuilder.addExtension(new MUCInitialPresence(password, maxChars, maxStanzas, seconds,
since));
joinPresence = joinPresenceBuilder.build();

View File

@ -994,7 +994,7 @@ public class MultiUserChat {
* 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
* 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 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>
*
* 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 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>
*
* 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 user the user to invite to the room.(e.g. hecate@shakespeare.lit)

View File

@ -28,7 +28,7 @@ public class ItemDeleteEvent extends SubscriptionEvent {
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
* subscriptions. The subscriptions would have been created by calling
* {@link LeafNode#subscribe(String)}.

View File

@ -785,7 +785,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 <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.
* @throws NoResponseException if there was no response from the server.
* @throws XMPPErrorException if an XMPP exception occurs.

View File

@ -487,7 +487,7 @@ public final class JingleSession extends JingleNegotiator implements MediaReceiv
}
}
// The the packet.
// the packet.
// CHECKSTYLE:OFF
if ((getConnection() != null) && getConnection().isConnected())
getConnection().sendStanza(jout);

View File

@ -463,7 +463,7 @@ public class Workgroup {
/**
* 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.
*/

View File

@ -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
* OX-IM messages, please refer to the {@link OxMessageListener} instead.
* @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 metadata metadata about the encryption and signing
*/

View File

@ -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.keyStorePassword to the password of the keyStore
* <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>
*
* Then, when the server requests or requires the client certificate, java will

View File

@ -1443,7 +1443,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
// closed in shutdown().
}
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
if (!(done() || queue.isShutdown())) {
// Set running to false since this thread will exit here and notifyConnectionError() will wait until