mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-08 20:11:08 +01:00
s/occured/occurred/
This commit is contained in:
parent
b0277d7e74
commit
eb4c2c5572
50 changed files with 196 additions and 196 deletions
|
|
@ -38,8 +38,8 @@ public class AMPExtensionProvider extends ExtensionElementProvider<AMPExtension>
|
|||
*
|
||||
* @param parser the XML parser, positioned at the starting element of the extension.
|
||||
* @return a PacketExtension.
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws XmlPullParserException if an error in the XML parser occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws XmlPullParserException if an error in the XML parser occurred.
|
||||
*/
|
||||
@Override
|
||||
public AMPExtension parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ public class Socks5Client {
|
|||
* supported by the Socks5Client.
|
||||
*
|
||||
* @param socket connected to a SOCKS5 proxy
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws SmackMessageException if there was an error.
|
||||
*/
|
||||
protected void establish(Socket socket) throws IOException, SmackMessageException {
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ public class SimpleDirectoryPersistentCache implements EntityCapsPersistentCache
|
|||
*
|
||||
* @param file TODO javadoc me please
|
||||
* @param info TODO javadoc me please
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
*/
|
||||
private static void writeInfoToFile(File file, DiscoverInfo info) throws IOException {
|
||||
try (DataOutputStream dos = new DataOutputStream(new FileOutputStream(file))) {
|
||||
|
|
|
|||
|
|
@ -110,7 +110,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 occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws IllegalArgumentException This exception is thrown when the the provided file is
|
||||
* either null, or cannot be written to.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ public final class LastActivityManager extends Manager {
|
|||
* the JID of the user.
|
||||
* @return the LastActivity stanza of the jid.
|
||||
* @throws XMPPErrorException if there was an XMPP error returned.
|
||||
* thrown if a server error has occured.
|
||||
* thrown if a server error has occurred.
|
||||
* @throws NoResponseException if there was no response from the server.
|
||||
* @throws NotConnectedException if the XMPP connection is not connected.
|
||||
* @throws InterruptedException if the calling thread was interrupted.
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ public interface PrivateDataProvider {
|
|||
*
|
||||
* @param parser an XML parser.
|
||||
* @return a new PrivateData instance.
|
||||
* @throws XmlPullParserException if an error in the XML parser occured.
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws XmlPullParserException if an error in the XML parser occurred.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
*/
|
||||
PrivateData parsePrivateData(XmlPullParser parser) throws XmlPullParserException, IOException;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,8 +48,8 @@ public class JivePropertiesExtensionProvider extends ExtensionElementProvider<Ji
|
|||
*
|
||||
* @param parser the XML parser, positioned at the start of a properties sub-packet.
|
||||
* @return a map of the properties.
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws XmlPullParserException if an error in the XML parser occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws XmlPullParserException if an error in the XML parser occurred.
|
||||
*/
|
||||
@Override
|
||||
public JivePropertiesExtension parse(XmlPullParser parser,
|
||||
|
|
|
|||
|
|
@ -1897,7 +1897,7 @@ public class MultiUserChat {
|
|||
*
|
||||
* @param role the role of the occupant in the room.
|
||||
* @return a list of <code>Occupant</code> that have the specified room role.
|
||||
* @throws XMPPErrorException if an error occured while performing the request to the server or you
|
||||
* @throws XMPPErrorException if an error occurred while performing the request to the server or you
|
||||
* don't have enough privileges to get this information.
|
||||
* @throws NoResponseException if there was no response from the server.
|
||||
* @throws NotConnectedException if the XMPP connection is not connected.
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ public class MUCUserProvider extends ExtensionElementProvider<MUCUser> {
|
|||
*
|
||||
* @param parser the XML parser, positioned at the starting element of the extension.
|
||||
* @return a PacketExtension.
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws XmlPullParserException if an error in the XML parser occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws XmlPullParserException if an error in the XML parser occurred.
|
||||
*/
|
||||
@Override
|
||||
public MUCUser parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException {
|
||||
|
|
|
|||
|
|
@ -99,8 +99,8 @@ public class OfflineMessageInfo implements ExtensionElement {
|
|||
*
|
||||
* @param parser the XML parser, positioned at the starting element of the extension.
|
||||
* @return a PacketExtension.
|
||||
* @throws IOException if an I/O error occured.
|
||||
* @throws XmlPullParserException if an error in the XML parser occured.
|
||||
* @throws IOException if an I/O error occurred.
|
||||
* @throws XmlPullParserException if an error in the XML parser occurred.
|
||||
*/
|
||||
@Override
|
||||
public OfflineMessageInfo parse(XmlPullParser parser,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue