Build: Add missing @Override annotations (dep-ann lint)

This commit is contained in:
zzz
2021-12-07 15:33:41 -05:00
parent b5d7dffb08
commit 22ff40bc84
9 changed files with 14 additions and 1 deletions

View File

@@ -232,7 +232,6 @@ public class DeliveryInstructions extends DataStructureImpl {
/**
* For cloves only (not tunnels), default false, unused
* @deprecated unused
*/
/****
private static boolean flagEncrypted(long flags) {

View File

@@ -73,6 +73,7 @@ public final class ElGamalAESEngine {
*
* @deprecated specify the key manager!
*/
@Deprecated
public byte[] decrypt(byte data[], PrivateKey targetPrivateKey) throws DataFormatException {
return decrypt(data, targetPrivateKey, _context.sessionKeyManager());
}
@@ -567,6 +568,7 @@ public final class ElGamalAESEngine {
* @throws IllegalArgumentException on bad target EncType
* @deprecated unused
*/
@Deprecated
public byte[] encrypt(byte data[], PublicKey target, SessionKey key, Set<SessionTag> tagsForDelivery, long paddedSize) {
return encrypt(data, target, key, tagsForDelivery, null, null, paddedSize);
}
@@ -579,6 +581,7 @@ public final class ElGamalAESEngine {
* @throws IllegalArgumentException on bad target EncType
* @deprecated unused
*/
@Deprecated
public byte[] encrypt(byte data[], PublicKey target, SessionKey key, long paddedSize) {
return encrypt(data, target, key, null, null, null, paddedSize);
}