mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks
This commit is contained in:
parent
2ac452fe1e
commit
4ca2c7cc69
76 changed files with 120 additions and 131 deletions
|
@ -149,8 +149,8 @@ public class SignalOmemoRatchet
|
|||
}
|
||||
|
||||
// TODO: Figure out, if this is enough...
|
||||
int type = (ciphertextMessage.getType() == CiphertextMessage.PREKEY_TYPE ?
|
||||
OmemoElement.TYPE_OMEMO_PREKEY_MESSAGE : OmemoElement.TYPE_OMEMO_MESSAGE);
|
||||
int type = ciphertextMessage.getType() == CiphertextMessage.PREKEY_TYPE ?
|
||||
OmemoElement.TYPE_OMEMO_PREKEY_MESSAGE : OmemoElement.TYPE_OMEMO_MESSAGE;
|
||||
|
||||
return new CiphertextTuple(ciphertextMessage.serialize(), type);
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ public class SignalOmemoStoreConnector
|
|||
@Override
|
||||
public boolean containsPreKey(int i) {
|
||||
try {
|
||||
return (loadPreKey(i) != null);
|
||||
return loadPreKey(i) != null;
|
||||
} catch (InvalidKeyIdException e) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue