Daniel Martí 2015-04-01 00:39:36 +02:00
parent f948112e42
commit 990deab398
4 changed files with 6 additions and 1 deletions

View File

@ -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");
}
}
}
}

View File

@ -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 {
/**

View File

@ -56,6 +56,7 @@ public class LocalRepoKeyStore {
return localRepoKeyStore;
}
@SuppressWarnings("serial")
public static class InitException extends Exception {
public InitException(String detailMessage) {
super(detailMessage);

View File

@ -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";