From 57c1b57b7c02043f50b1a72492edb74bd942ce6b Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 12 Feb 2015 12:13:19 +0100 Subject: [PATCH] s/ a XMPP/ an XMPP/ --- documentation/extensions/caps.md | 2 +- documentation/extensions/index.md | 2 +- documentation/extensions/muc.md | 10 +++++----- documentation/gettingstarted.md | 2 +- documentation/messaging.md | 4 ++-- documentation/processing.md | 2 +- .../jivesoftware/smack/bosh/XMPPBOSHConnection.java | 6 +++--- .../org/jivesoftware/smack/AbstractXMPPConnection.java | 2 +- .../java/org/jivesoftware/smack/XMPPConnection.java | 6 +++--- .../java/org/jivesoftware/smack/packet/XMPPError.java | 2 +- .../jivesoftware/smackx/MessageEventManagerTest.java | 6 +++--- .../jivesoftware/smackx/RosterExchangeManagerTest.java | 4 ++-- .../java/org/jivesoftware/smackx/XHTMLManagerTest.java | 2 +- .../jivesoftware/smackx/packet/MessageEventTest.java | 6 +++--- .../jivesoftware/smackx/packet/RosterExchangeTest.java | 2 +- .../jivesoftware/smackx/packet/XHTMLExtensionTest.java | 2 +- .../bytestreams/socks5/Socks5BytestreamManager.java | 2 +- .../bytestreams/socks5/Socks5ClientForInitiator.java | 2 +- .../smackx/commands/AdHocCommandManager.java | 4 ++-- .../jivesoftware/smackx/iqregister/AccountManager.java | 2 +- .../java/org/jivesoftware/smackx/pep/PEPManager.java | 2 +- .../java/org/jivesoftware/smackx/ping/packet/Ping.java | 2 +- .../src/test/java/org/jivesoftware/util/Protocol.java | 2 +- .../java/org/jivesoftware/smack/roster/Roster.java | 4 ++-- .../smackx/jingle/mediaimpl/demo/Demo.java | 2 +- .../jivesoftware/smackx/jingle/JingleManagerTest.java | 4 ++-- .../jivesoftware/smackx/jingleold/JingleManager.java | 6 +++--- .../smackx/jingleold/nat/BridgedResolver.java | 2 +- .../jivesoftware/smackx/jingleold/nat/ICEResolver.java | 2 +- .../smackx/xevent/MessageEventManager.java | 2 +- .../smackx/xroster/RosterExchangeManager.java | 2 +- .../org/jivesoftware/smack/tcp/XMPPTCPConnection.java | 6 +++--- 32 files changed, 53 insertions(+), 53 deletions(-) diff --git a/documentation/extensions/caps.md b/documentation/extensions/caps.md index 11daf4ef7..1ab734dea 100644 --- a/documentation/extensions/caps.md +++ b/documentation/extensions/caps.md @@ -8,7 +8,7 @@ Capabilities. **Description** -Entity Capabilities is a XMPP Protocol extension, which, in order to minimize +Entity Capabilities is an XMPP Protocol extension, which, in order to minimize network impact, caches the capabilities of XMPP entities. Those capabilities are determined with the help of the Service Discovery Protocol ([XEP-0030](http://xmpp.org/extensions/xep-0030.html)). diff --git a/documentation/extensions/index.md b/documentation/extensions/index.md index f7bdef9fc..da63d59bd 100644 --- a/documentation/extensions/index.md +++ b/documentation/extensions/index.md @@ -51,7 +51,7 @@ Smack Extensions and currently supported XEPs by Smack (smack-extensions) | Data Forms Validation | [XEP-0122](http://xmpp.org/extensions/xep-0122.html) | Enables an application to specify additional validation guidelines . | | Stream Compression | [XEP-0138](http://xmpp.org/extensions/xep-0138.html) | Support for optional compression of the XMPP stream. | Data Forms Layout | [XEP-0141](http://xmpp.org/extensions/xep-0141.html) | Enables an application to specify form layouts. | -| Personal Eventing Protocol | [XEP-0163](http://xmpp.org/extensions/xep-0163.html) | Using the XMPP publish-subscribe protocol to broadcast state change events associated with a XMPP account. | +| Personal Eventing Protocol | [XEP-0163](http://xmpp.org/extensions/xep-0163.html) | Using the XMPP publish-subscribe protocol to broadcast state change events associated with an XMPP account. | | Message Delivery Receipts | [XEP-0184](http://xmpp.org/extensions/xep-0184.html) | Extension for message delivery receipts. The sender can request notification that the message has been delivered. | | XMPP Ping | [XEP-0199](http://xmpp.org/extensions/xep-0199.html) | Sending application-level pings over XML streams. | Entity Time | [XEP-0202](http://xmpp.org/extensions/xep-0202.html) | Allows entities to communicate their local time | diff --git a/documentation/extensions/muc.md b/documentation/extensions/muc.md index ab552e69a..0eb02d388 100644 --- a/documentation/extensions/muc.md +++ b/documentation/extensions/muc.md @@ -69,7 +69,7 @@ completed with default values: // Get the MultiUserChatManager MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); -// Create a MultiUserChat using a XMPPConnection for a room +// Create a MultiUserChat using an XMPPConnection for a room MultiUserChat muc = = manager.getMultiUserChat("myroom@conference.jabber.org"); // Create the room @@ -132,7 +132,7 @@ In this example we can see how to join a room with a given nickname: // Get the MultiUserChatManager MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); -// Create a MultiUserChat using a XMPPConnection for a room +// Create a MultiUserChat using an XMPPConnection for a room MultiUserChat muc2 = manager.getMultiUserChat("myroom@conference.jabber.org"); // User2 joins the new room @@ -147,7 +147,7 @@ password: // Get the MultiUserChatManager MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); -// Create a MultiUserChat using a XMPPConnection for a room +// Create a MultiUserChat using an XMPPConnection for a room MultiUserChat muc2 = manager.getMultiUserChat("myroom@conference.jabber.org"); // User2 joins the new room using a password @@ -162,7 +162,7 @@ the amount of history to receive: // Get the MultiUserChatManager MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); -// Create a MultiUserChat using a XMPPConnection for a room +// Create a MultiUserChat using an XMPPConnection for a room MultiUserChat muc2 = manager.getMultiUserChat("myroom@conference.jabber.org"); // User2 joins the new room using a password and specifying @@ -209,7 +209,7 @@ for possible rejections: // Get the MultiUserChatManager MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); -// Create a MultiUserChat using a XMPPConnection for a room +// Create a MultiUserChat using an XMPPConnection for a room MultiUserChat muc2 = manager.getMultiUserChat("myroom@conference.jabber.org"); muc2.join("testbot2"); diff --git a/documentation/gettingstarted.md b/documentation/gettingstarted.md index 52cda7535..e019064ed 100644 --- a/documentation/gettingstarted.md +++ b/documentation/gettingstarted.md @@ -97,7 +97,7 @@ your presence to let people know you're unavailable and "out fishing": // Create a new presence. Pass in false to indicate we're unavailable._ Presence presence = new Presence(Presence.Type.unavailable); presence.setStatus("Gone fishing"); -// Send the packet (assume we have a XMPPConnection instance called "con"). +// Send the packet (assume we have an XMPPConnection instance called "con"). con.sendPacket(presence); ``` diff --git a/documentation/messaging.md b/documentation/messaging.md index 8923a4de6..b2727267c 100644 --- a/documentation/messaging.md +++ b/documentation/messaging.md @@ -16,7 +16,7 @@ The following code snippet demonstrates how to create a new Chat with a user and then send them a text message: ``` -// Assume we've created a XMPPConnection name "connection"._ +// Assume we've created an XMPPConnection name "connection"._ ChatManager chatmanager = connection.getChatManager(); Chat newChat = chatmanager.createChat("jsmith@jivesoftware.com", new MessageListener() { public void processMessage(Chat chat, Message message) { @@ -72,7 +72,7 @@ when it happens. You can register a message listener to receive all future messages as part of this handler. ``` -_// Assume we've created a XMPPConnection name "connection"._ +_// Assume we've created an XMPPConnection name "connection"._ ChatManager chatmanager = connection.getChatManager().addChatListener( new ChatManagerListener() { @Override diff --git a/documentation/processing.md b/documentation/processing.md index d5b30751b..4e4fe1b9b 100644 --- a/documentation/processing.md +++ b/documentation/processing.md @@ -22,7 +22,7 @@ and a packet listener: // user. We use an AndFilter to combine two other filters._ PacketFilter filter = new AndFilter(new PacketTypeFilter(Message.class), new FromContainsFilter("mary@jivesoftware.com")); -// Assume we've created a XMPPConnection name "connection". +// Assume we've created an XMPPConnection name "connection". // First, register a packet collector using the filter we created. PacketCollector myCollector = connection.createPacketCollector(filter); diff --git a/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java b/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java index baddd779f..e4f203698 100644 --- a/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java +++ b/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java @@ -58,7 +58,7 @@ import org.igniterealtime.jbosh.BodyQName; import org.igniterealtime.jbosh.ComposableBody; /** - * Creates a connection to a XMPP server via HTTP binding. + * Creates a connection to an XMPP server via HTTP binding. * This is specified in the XEP-0206: XMPP Over BOSH. * * @see XMPPConnection @@ -101,7 +101,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection { protected String sessionID = null; /** - * Create a HTTP Binding connection to a XMPP server. + * Create a HTTP Binding connection to an XMPP server. * * @param username the username to use. * @param password the password to use. @@ -123,7 +123,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection { } /** - * Create a HTTP Binding connection to a XMPP server. + * Create a HTTP Binding connection to an XMPP server. * * @param config The configuration which is used for this connection. */ 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 ba5e278ca..36d570533 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java @@ -327,7 +327,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection { private final Map getIqRequestHandler = new HashMap<>(); /** - * Create a new XMPPConnection to a XMPP server. + * Create a new XMPPConnection to an XMPP server. * * @param configuration The configuration which is used to establish the connection. */ 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 e2e1497d5..fd93de2d1 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/XMPPConnection.java @@ -28,9 +28,9 @@ import org.jivesoftware.smack.packet.PacketExtension; import org.jivesoftware.smack.packet.PlainStreamElement; /** - * The XMPPConnection interface provides an interface for connections to a XMPP server and + * The XMPPConnection interface provides an interface for connections to an XMPP server and * implements shared methods which are used by the different types of connections (e.g. - * {@link XMPPTCPConnection} or {@link XMPPBOSHConnection}). To create a connection to a XMPP server + * {@link XMPPTCPConnection} or {@link XMPPBOSHConnection}). To create a connection to an XMPP server * a simple usage of this API might look like the following: *

* @@ -107,7 +107,7 @@ public interface XMPPConnection { /** * Returns the stream ID for this connection, which is the value set by the server - * when opening a XMPP stream. This value will be null if not connected to the server. + * when opening an XMPP stream. This value will be null if not connected to the server. * * @return the ID of this connection returned from the XMPP server or null if * not connected to the server. diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java index bcd807be7..251883127 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java @@ -26,7 +26,7 @@ import org.jivesoftware.smack.util.StringUtils; import org.jivesoftware.smack.util.XmlStringBuilder; /** - * Represents a XMPP error sub-packet. Typically, a server responds to a request that has + * Represents an XMPP error sub-packet. Typically, a server responds to a request that has * problems by sending the packet back and including an error packet. Each error has a type, * error condition as well as as an optional text explanation. Typical errors are:

* diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/MessageEventManagerTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/MessageEventManagerTest.java index a0db83acb..20567d787 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/MessageEventManagerTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/MessageEventManagerTest.java @@ -37,7 +37,7 @@ public class MessageEventManagerTest extends SmackTestCase { /** * High level API test. - * This is a simple test to use with a XMPP client and check if the client receives the + * This is a simple test to use with an XMPP client and check if the client receives the * message * 1. User_1 will send a message to user_2 requesting to be notified when any of these events * occurs: offline, composing, displayed or delivered @@ -64,11 +64,11 @@ public class MessageEventManagerTest extends SmackTestCase { /** * High level API test. - * This is a simple test to use with a XMPP client, check if the client receives the + * This is a simple test to use with an XMPP client, check if the client receives the * message and display in the console any notification * 1. User_1 will send a message to user_2 requesting to be notified when any of these events * occurs: offline, composing, displayed or delivered - * 2. User_2 will use a XMPP client (like Exodus) to display the message and compose a reply + * 2. User_2 will use an XMPP client (like Exodus) to display the message and compose a reply * 3. User_1 will display any notification that receives */ public void testSendMessageEventRequestAndDisplayNotifications() { diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/RosterExchangeManagerTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/RosterExchangeManagerTest.java index be7859b2b..9c26f40ec 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/RosterExchangeManagerTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/RosterExchangeManagerTest.java @@ -43,7 +43,7 @@ public class RosterExchangeManagerTest extends SmackTestCase { /** * High level API test. - * This is a simple test to use with a XMPP client and check if the client receives user1's + * This is a simple test to use with an XMPP client and check if the client receives user1's * roster * 1. User_1 will send his/her roster to user_2 */ @@ -62,7 +62,7 @@ public class RosterExchangeManagerTest extends SmackTestCase { /** * High level API test. - * This is a simple test to use with a XMPP client and check if the client receives user1's + * This is a simple test to use with an XMPP client and check if the client receives user1's * roster groups * 1. User_1 will send his/her RosterGroups to user_2 */ diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/XHTMLManagerTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/XHTMLManagerTest.java index 6a07bc307..58ad787fd 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/XHTMLManagerTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/XHTMLManagerTest.java @@ -44,7 +44,7 @@ public class XHTMLManagerTest extends SmackTestCase { /** * High level API test. - * This is a simple test to use with a XMPP client and check if the client receives the message + * This is a simple test to use with an XMPP client and check if the client receives the message * 1. User_1 will send a message with formatted text (XHTML) to user_2 */ public void testSendSimpleXHTMLMessage() { diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/MessageEventTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/MessageEventTest.java index 24e3ca810..4006051e6 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/MessageEventTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/MessageEventTest.java @@ -36,7 +36,7 @@ public class MessageEventTest extends SmackTestCase { /** * Low level API test. - * This is a simple test to use with a XMPP client and check if the client receives the + * This is a simple test to use with an XMPP client and check if the client receives the * message * 1. User_1 will send a message to user_2 requesting to be notified when any of these events * occurs: offline, composing, displayed or delivered @@ -70,11 +70,11 @@ public class MessageEventTest extends SmackTestCase { /** * Low level API test. - * This is a simple test to use with a XMPP client, check if the client receives the + * This is a simple test to use with an XMPP client, check if the client receives the * message and display in the console any notification * 1. User_1 will send a message to user_2 requesting to be notified when any of these events * occurs: offline, composing, displayed or delivered - * 2. User_2 will use a XMPP client (like Exodus) to display the message and compose a reply + * 2. User_2 will use an XMPP client (like Exodus) to display the message and compose a reply * 3. User_1 will display any notification that receives */ public void testSendMessageEventRequestAndDisplayNotifications() { diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/RosterExchangeTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/RosterExchangeTest.java index d725b632e..e83890661 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/RosterExchangeTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/RosterExchangeTest.java @@ -38,7 +38,7 @@ public class RosterExchangeTest extends SmackTestCase { /** * Low level API test. - * This is a simple test to use with a XMPP client and check if the client receives the message + * This is a simple test to use with an XMPP client and check if the client receives the message * 1. User_1 will send his/her roster entries to user_2 */ public void testSendRosterEntries() { diff --git a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/XHTMLExtensionTest.java b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/XHTMLExtensionTest.java index af16f4eeb..a301bb131 100644 --- a/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/XHTMLExtensionTest.java +++ b/smack-extensions/src/integration-test/java/org/jivesoftware/smackx/packet/XHTMLExtensionTest.java @@ -45,7 +45,7 @@ public class XHTMLExtensionTest extends SmackTestCase { /** * Low level API test. - * This is a simple test to use with a XMPP client and check if the client receives the message + * This is a simple test to use with an XMPP client and check if the client receives the message * 1. User_1 will send a message with formatted text (XHTML) to user_2 */ public void testSendSimpleXHTMLMessage() { diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java index 48dfe4105..eac999397 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java @@ -692,7 +692,7 @@ public final class Socks5BytestreamManager implements BytestreamManager { } /** - * Responses to the given packet's sender with a XMPP error that a SOCKS5 Bytestream is not + * Responses to the given packet's sender with an XMPP error that a SOCKS5 Bytestream is not * accepted. *

* Specified in XEP-65 5.3.1 (Example 13) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5ClientForInitiator.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5ClientForInitiator.java index f57edb027..e63aa398b 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5ClientForInitiator.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5ClientForInitiator.java @@ -99,7 +99,7 @@ class Socks5ClientForInitiator extends Socks5Client { } /** - * Activates the SOCKS5 Bytestream by sending a XMPP SOCKS5 Bytestream activation packet to the + * Activates the SOCKS5 Bytestream by sending an XMPP SOCKS5 Bytestream activation packet to the * SOCKS5 proxy. * @throws XMPPErrorException * @throws NoResponseException diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommandManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommandManager.java index 41aa607e2..e6c2add0b 100755 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommandManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/commands/AdHocCommandManager.java @@ -53,7 +53,7 @@ import org.jivesoftware.smackx.xdata.Form; * An AdHocCommandManager is responsible for keeping the list of available * commands offered by a service and for processing commands requests. * - * Pass in a XMPPConnection instance to + * Pass in an XMPPConnection instance to * {@link #getAddHocCommandsManager(org.jivesoftware.smack.XMPPConnection)} in order to * get an instance of this class. * @@ -70,7 +70,7 @@ public class AdHocCommandManager extends Manager { private static final int SESSION_TIMEOUT = 2 * 60; /** - * Map a XMPPConnection with it AdHocCommandManager. This map have a key-value + * Map an XMPPConnection with it AdHocCommandManager. This map have a key-value * pair for every active connection. */ private static Map instances = new WeakHashMap<>(); diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java index 569c7ffa4..c701e5105 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java @@ -72,7 +72,7 @@ public class AccountManager extends Manager { /** * Creates a new AccountManager instance. * - * @param connection a connection to a XMPP server. + * @param connection a connection to an XMPP server. */ private AccountManager(XMPPConnection connection) { super(connection); diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java index a84d8c8da..3e476b047 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java @@ -70,7 +70,7 @@ public class PEPManager { /** * Creates a new PEP exchange manager. * - * @param connection a XMPPConnection which is used to send and receive messages. + * @param connection an XMPPConnection which is used to send and receive messages. */ public PEPManager(XMPPConnection connection) { this.connection = connection; diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/packet/Ping.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/packet/Ping.java index 0686753d1..e36137f70 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/packet/Ping.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/ping/packet/Ping.java @@ -35,7 +35,7 @@ public class Ping extends SimpleIQ { } /** - * Create a XMPP Pong for this Ping + * Create an XMPP Pong for this Ping * * @return the Pong */ diff --git a/smack-extensions/src/test/java/org/jivesoftware/util/Protocol.java b/smack-extensions/src/test/java/org/jivesoftware/util/Protocol.java index 7720cdd16..71fdbc33a 100644 --- a/smack-extensions/src/test/java/org/jivesoftware/util/Protocol.java +++ b/smack-extensions/src/test/java/org/jivesoftware/util/Protocol.java @@ -37,7 +37,7 @@ import org.jivesoftware.smack.packet.Stanza; /** * This class can be used in conjunction with a mocked XMPP connection ( * {@link ConnectionUtils#createMockedConnection(Protocol, String, String)}) to - * verify a XMPP protocol. This can be accomplished in the following was: + * verify an XMPP protocol. This can be accomplished in the following was: *