]> WPIA git - gigi.git/commitdiff
fix: Include missing Serializeable interface
authorBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 00:48:38 +0000 (02:48 +0200)
committerBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 11:49:52 +0000 (13:49 +0200)
Parent classes require this Serializion ID to be
present as they already implement Serializeable.

Change-Id: I70d838297874fa92b7ad1d6fa521e9fb167b3211

src/org/cacert/gigi/util/RateLimit.java
tests/org/cacert/gigi/pages/account/TestCertificateAdd.java

index eb24563dce2e290d3c6a1ce9b4c0886b7906556f..d7873a03830cd20877c4e76cf3bba4024bb1bc02 100644 (file)
@@ -9,6 +9,8 @@ public class RateLimit {
 
     public static final class RateLimitException extends GigiApiException {
 
 
     public static final class RateLimitException extends GigiApiException {
 
+        private static final long serialVersionUID = 1L;
+
         public RateLimitException() {
             super("Rate limit exceeded.");
         }
         public RateLimitException() {
             super("Rate limit exceeded.");
         }
index 6f7c8be43ae602c774074644bb3cf1c97ef1f634..b85818c39926270bf83e090a72d343742982387c 100644 (file)
@@ -59,6 +59,8 @@ public class TestCertificateAdd extends ClientTest {
 
     private static class OnPageError extends Error {
 
 
     private static class OnPageError extends Error {
 
+        private static final long serialVersionUID = 1L;
+
         public OnPageError(String page) {
             super(page);
         }
         public OnPageError(String page) {
             super(page);
         }