1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 00:59:39 +02:00

Fixes spelling (includes one API change)

Mostly benign changes. Added one new method to replace a method with a spelling mistake in its name. Kept the old method, marked as 'deprecated'.
This commit is contained in:
Guus der Kinderen 2024-09-06 21:52:50 +02:00
parent 38c6dd21b4
commit c85bcadd81
140 changed files with 270 additions and 265 deletions

View file

@ -893,7 +893,7 @@ public abstract class OmemoService<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey,
}
/**
* Process a received bundle. Typically that includes saving keys and building a session.
* Process a received bundle. Typically, that includes saving keys and building a session.
*
* @param omemoManager our OmemoManager
* @param contactsBundle bundle of the contact

View file

@ -143,7 +143,7 @@
* </pre>
* <p>
* The `setup()` method registers the service as a singleton. You can later access the instance by calling
* `SignalOmemoService.getInstace()`. The service can only be registered once. Subsequent calls will throw an
* `SignalOmemoService.getInstance()`. The service can only be registered once. Subsequent calls will throw an
* {@link IllegalStateException}.
* </p>
* <h3>2. Set an OmemoStore</h3>

View file

@ -83,7 +83,7 @@ public class OmemoMessageBuilder<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_
* @param iv initialization vector used for message encryption
* @param message message we want to send
*
* @throws NoSuchPaddingException if the requested padding mechanism is not availble.
* @throws NoSuchPaddingException if the requested padding mechanism is not available.
* @throws BadPaddingException if the input data is not padded properly.
* @throws InvalidKeyException if the key is invalid.
* @throws NoSuchAlgorithmException if no such algorithm is available.
@ -115,7 +115,7 @@ public class OmemoMessageBuilder<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_
* @param ratchet our OmemoRatchet
* @param message message we want to send
*
* @throws NoSuchPaddingException if the requested padding mechanism is not availble.
* @throws NoSuchPaddingException if the requested padding mechanism is not available.
* @throws BadPaddingException if the input data is not padded properly.
* @throws InvalidKeyException if the key is invalid.
* @throws NoSuchAlgorithmException if no such algorithm is available.
@ -140,7 +140,7 @@ public class OmemoMessageBuilder<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_
*
* @param message plaintext message
*
* @throws NoSuchPaddingException if the requested padding mechanism is not availble.
* @throws NoSuchPaddingException if the requested padding mechanism is not available.
* @throws InvalidAlgorithmParameterException if the provided arguments are invalid.
* @throws InvalidKeyException if the key is invalid.
* @throws BadPaddingException if the input data is not padded properly.