suppress mutable warnings for primitive arrays (we don't wanna wrap those)
This commit is contained in:
parent
d58f1bd225
commit
c4a4fdadff
|
@ -44,6 +44,7 @@ public abstract class ParcelableS2K implements Parcelable {
|
|||
abstract int getS2kType();
|
||||
abstract int getS2kHashAlgo();
|
||||
abstract long getS2kItCount();
|
||||
@SuppressWarnings("mutable")
|
||||
abstract byte[] getS2kIV();
|
||||
|
||||
@Memoized
|
||||
|
|
|
@ -40,6 +40,7 @@ public abstract class PgpSignEncryptData implements Parcelable {
|
|||
@Nullable
|
||||
public abstract Passphrase getSymmetricPassphrase();
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract long[] getEncryptionMasterKeyIds();
|
||||
public abstract int getCompressionAlgorithm();
|
||||
@Nullable
|
||||
|
|
|
@ -31,6 +31,7 @@ public abstract class ChangeUnlockParcel implements Parcelable {
|
|||
@Nullable
|
||||
public abstract Long getMasterKeyId();
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract byte[] getFingerprint();
|
||||
public abstract Passphrase getNewPassphrase();
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ import com.google.auto.value.AutoValue;
|
|||
|
||||
@AutoValue
|
||||
public abstract class DeleteKeyringParcel implements Parcelable {
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract long[] getMasterKeyIds();
|
||||
public abstract boolean isDeleteSecret();
|
||||
|
||||
|
|
|
@ -30,8 +30,10 @@ import com.google.auto.value.AutoValue;
|
|||
public abstract class PromoteKeyringParcel implements Parcelable {
|
||||
public abstract long getMasterKeyId();
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract byte[] getCardAid();
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract long[] getSubKeyIds();
|
||||
|
||||
public static PromoteKeyringParcel createPromoteKeyringParcel(long keyRingId, byte[] cardAid,
|
||||
|
|
|
@ -55,6 +55,7 @@ public abstract class SaveKeyringParcel implements Parcelable {
|
|||
public abstract Long getMasterKeyId();
|
||||
// the key fingerprint, for safety. MUST be null for a new key.
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract byte[] getFingerprint();
|
||||
|
||||
public abstract List<String> getAddUserIds();
|
||||
|
@ -263,6 +264,7 @@ public abstract class SaveKeyringParcel implements Parcelable {
|
|||
// if this is non-null, the subkey will be changed to a divert-to-card
|
||||
// (security token) key for the given serial number
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract byte[] getSecurityTokenSerialNo();
|
||||
|
||||
public static SubkeyChange createRecertifyChange(long keyId, boolean recertify) {
|
||||
|
|
|
@ -33,6 +33,7 @@ public abstract class UploadKeyringParcel implements Parcelable {
|
|||
@Nullable
|
||||
public abstract Long getMasterKeyId();
|
||||
@Nullable
|
||||
@SuppressWarnings("mutable")
|
||||
public abstract byte[] getUncachedKeyringBytes();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue