Suppress all serial warnings
http://stackoverflow.com/questions/7823477/warning-serial-serializable-class-someclass-has-no-definition-of-serialversio Fixes some of #210
This commit is contained in:
parent
f948112e42
commit
990deab398
@ -144,6 +144,7 @@ public final class PRNGFixes {
|
||||
* {@code Provider} of {@code SecureRandom} engines which pass through
|
||||
* all requests to the Linux PRNG.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
private static class LinuxPRNGSecureRandomProvider extends Provider {
|
||||
|
||||
public LinuxPRNGSecureRandomProvider() {
|
||||
@ -164,6 +165,7 @@ public final class PRNGFixes {
|
||||
* {@link SecureRandomSpi} which passes all requests to the Linux PRNG
|
||||
* ({@code /dev/urandom}).
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public static class LinuxPRNGSecureRandom extends SecureRandomSpi {
|
||||
|
||||
/*
|
||||
@ -333,4 +335,4 @@ public final class PRNGFixes {
|
||||
throw new RuntimeException("UTF-8 encoding not supported");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import java.io.File;
|
||||
* doesn't contain illegal characters.
|
||||
* Sanitized names are those which only have the following characters: [A-Za-z0-9.-_]
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class SanitizedFile extends File {
|
||||
|
||||
/**
|
||||
|
@ -56,6 +56,7 @@ public class LocalRepoKeyStore {
|
||||
return localRepoKeyStore;
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class InitException extends Exception {
|
||||
public InitException(String detailMessage) {
|
||||
super(detailMessage);
|
||||
|
@ -15,6 +15,7 @@ import java.io.IOException;
|
||||
* to these events, it is important that you execute the download method of this class from the UI thread.
|
||||
* That way, all forwarded events will be handled on that thread.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class AsyncDownloadWrapper extends Handler {
|
||||
|
||||
private static final String TAG = "fdroid.AsyncDownloadWrapper";
|
||||
|
Loading…
x
Reference in New Issue
Block a user