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
|
* {@code Provider} of {@code SecureRandom} engines which pass through
|
||||||
* all requests to the Linux PRNG.
|
* all requests to the Linux PRNG.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial")
|
||||||
private static class LinuxPRNGSecureRandomProvider extends Provider {
|
private static class LinuxPRNGSecureRandomProvider extends Provider {
|
||||||
|
|
||||||
public LinuxPRNGSecureRandomProvider() {
|
public LinuxPRNGSecureRandomProvider() {
|
||||||
@ -164,6 +165,7 @@ public final class PRNGFixes {
|
|||||||
* {@link SecureRandomSpi} which passes all requests to the Linux PRNG
|
* {@link SecureRandomSpi} which passes all requests to the Linux PRNG
|
||||||
* ({@code /dev/urandom}).
|
* ({@code /dev/urandom}).
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public static class LinuxPRNGSecureRandom extends SecureRandomSpi {
|
public static class LinuxPRNGSecureRandom extends SecureRandomSpi {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -8,6 +8,7 @@ import java.io.File;
|
|||||||
* doesn't contain illegal characters.
|
* doesn't contain illegal characters.
|
||||||
* Sanitized names are those which only have the following characters: [A-Za-z0-9.-_]
|
* Sanitized names are those which only have the following characters: [A-Za-z0-9.-_]
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public class SanitizedFile extends File {
|
public class SanitizedFile extends File {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,6 +56,7 @@ public class LocalRepoKeyStore {
|
|||||||
return localRepoKeyStore;
|
return localRepoKeyStore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public static class InitException extends Exception {
|
public static class InitException extends Exception {
|
||||||
public InitException(String detailMessage) {
|
public InitException(String detailMessage) {
|
||||||
super(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.
|
* 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.
|
* That way, all forwarded events will be handled on that thread.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public class AsyncDownloadWrapper extends Handler {
|
public class AsyncDownloadWrapper extends Handler {
|
||||||
|
|
||||||
private static final String TAG = "fdroid.AsyncDownloadWrapper";
|
private static final String TAG = "fdroid.AsyncDownloadWrapper";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user