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

View File

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

View 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);

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. * 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";