diff --git a/smack-core/src/integration-test/java/org/jivesoftware/smack/RosterSmackTest.java b/smack-core/src/integration-test/java/org/jivesoftware/smack/RosterSmackTest.java index ef9535128..d270e5211 100644 --- a/smack-core/src/integration-test/java/org/jivesoftware/smack/RosterSmackTest.java +++ b/smack-core/src/integration-test/java/org/jivesoftware/smack/RosterSmackTest.java @@ -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 */ diff --git a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java index 3cea10d69..913071fa6 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java @@ -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 diff --git a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java index 49252ac41..6b6c40334 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java @@ -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. * diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/StanzaBuilder.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/StanzaBuilder.java index f0c379fe8..ec8bdac3c 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/StanzaBuilder.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/StanzaBuilder.java @@ -111,7 +111,7 @@ public abstract class StanzaBuilder> 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. diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java index 546e0d79c..94dfc2f07 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java @@ -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}. diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/muc/MultiUserChatCreationTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/muc/MultiUserChatCreationTest.java index 06baae159..896821c62 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/muc/MultiUserChatCreationTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/muc/MultiUserChatCreationTest.java @@ -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 diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/chatstates/ChatStateManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/chatstates/ChatStateManager.java index b010c2329..4af2d2bca 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/chatstates/ChatStateManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/chatstates/ChatStateManager.java @@ -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); diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommand.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommand.java index c7815fa8c..347c08f69 100755 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommand.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommand.java @@ -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. diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/IncomingFileTransfer.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/IncomingFileTransfer.java index 5c66d4e04..c09e9fcb2 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/IncomingFileTransfer.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/filetransfer/IncomingFileTransfer.java @@ -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 { diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/InvitationListener.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/InvitationListener.java index 74699fa4e..71397aa04 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/InvitationListener.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/InvitationListener.java @@ -35,7 +35,7 @@ public interface InvitationListener { * Called when the an invitation to join a MUC room is received.

* * 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. diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MucEnterConfiguration.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MucEnterConfiguration.java index 8a6b4b2fd..ef3e17ba7 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MucEnterConfiguration.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MucEnterConfiguration.java @@ -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(); diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java index 9620e305b..65fc31746 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -994,7 +994,7 @@ public class MultiUserChat { * will be sent to the room which in turn will forward the invitation to the invitee.

* * 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.

* * 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.

* * 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) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/ItemDeleteEvent.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/ItemDeleteEvent.java index bb521c95a..424c3da0b 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/ItemDeleteEvent.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/ItemDeleteEvent.java @@ -28,7 +28,7 @@ public class ItemDeleteEvent extends SubscriptionEvent { private List itemIds = Collections.emptyList(); /** - * Constructs an ItemDeleteEvent that indicates the the supplied + * Constructs an ItemDeleteEvent 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)}. diff --git a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java index 6be271c18..8df18a77b 100644 --- a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java +++ b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java @@ -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 null if the the roster entry won't + * @param groups the list of group names the entry will belong to, or null 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. diff --git a/smack-jingle-old/src/main/java/org/jivesoftware/smackx/jingleold/JingleSession.java b/smack-jingle-old/src/main/java/org/jivesoftware/smackx/jingleold/JingleSession.java index c202ac9b5..dabc962b0 100644 --- a/smack-jingle-old/src/main/java/org/jivesoftware/smackx/jingleold/JingleSession.java +++ b/smack-jingle-old/src/main/java/org/jivesoftware/smackx/jingleold/JingleSession.java @@ -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); diff --git a/smack-legacy/src/main/java/org/jivesoftware/smackx/workgroup/user/Workgroup.java b/smack-legacy/src/main/java/org/jivesoftware/smackx/workgroup/user/Workgroup.java index 9ca424c18..59ad7c4dc 100644 --- a/smack-legacy/src/main/java/org/jivesoftware/smackx/workgroup/user/Workgroup.java +++ b/smack-legacy/src/main/java/org/jivesoftware/smackx/workgroup/user/Workgroup.java @@ -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. */ diff --git a/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/listener/SigncryptElementReceivedListener.java b/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/listener/SigncryptElementReceivedListener.java index 0e503e908..a4bb59de4 100644 --- a/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/listener/SigncryptElementReceivedListener.java +++ b/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/listener/SigncryptElementReceivedListener.java @@ -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 */ diff --git a/smack-sasl-javax/src/main/java/org/jivesoftware/smack/sasl/javax/SASLExternalMechanism.java b/smack-sasl-javax/src/main/java/org/jivesoftware/smack/sasl/javax/SASLExternalMechanism.java index d0f24e537..f0c409c49 100644 --- a/smack-sasl-javax/src/main/java/org/jivesoftware/smack/sasl/javax/SASLExternalMechanism.java +++ b/smack-sasl-javax/src/main/java/org/jivesoftware/smack/sasl/javax/SASLExternalMechanism.java @@ -31,7 +31,7 @@ package org.jivesoftware.smack.sasl.javax; *

  • javax.net.ssl.keyStore to the location of the keyStore *
  • javax.net.ssl.keyStorePassword to the password of the keyStore *
  • javax.net.ssl.trustStore to the location of the trustStore - *
  • javax.net.ssl.trustStorePassword to the the password of the trustStore + *
  • javax.net.ssl.trustStorePassword to the password of the trustStore * * * Then, when the server requests or requires the client certificate, java will diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java index 0314db7f8..e093ce1a6 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java @@ -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