From eb42124975bbb77e65095ec1b972f7813eee2b81 Mon Sep 17 00:00:00 2001 From: Patrick Gotthard Date: Tue, 13 May 2014 19:26:02 +0200 Subject: [PATCH] Harmonized serialVersionIds --- src/main/java/com/rometools/fetcher/FetcherEvent.java | 2 +- src/main/java/com/rometools/fetcher/FetcherException.java | 2 +- .../java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java | 2 +- .../rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java | 4 ++-- src/main/java/com/rometools/fetcher/impl/SyndFeedInfo.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/rometools/fetcher/FetcherEvent.java b/src/main/java/com/rometools/fetcher/FetcherEvent.java index ec1f461..f12b700 100644 --- a/src/main/java/com/rometools/fetcher/FetcherEvent.java +++ b/src/main/java/com/rometools/fetcher/FetcherEvent.java @@ -12,7 +12,7 @@ import com.sun.syndication.feed.synd.SyndFeed; */ public class FetcherEvent extends EventObject { - private static final long serialVersionUID = 3985600601904140103L; + private static final long serialVersionUID = 1L; public static final String EVENT_TYPE_FEED_POLLED = "FEED_POLLED"; public static final String EVENT_TYPE_FEED_RETRIEVED = "FEED_RETRIEVED"; diff --git a/src/main/java/com/rometools/fetcher/FetcherException.java b/src/main/java/com/rometools/fetcher/FetcherException.java index eb58a6e..1d1659e 100644 --- a/src/main/java/com/rometools/fetcher/FetcherException.java +++ b/src/main/java/com/rometools/fetcher/FetcherException.java @@ -21,7 +21,7 @@ package com.rometools.fetcher; * */ public class FetcherException extends Exception { - private static final long serialVersionUID = -7479645796948092380L; + private static final long serialVersionUID = 1L; int responseCode; diff --git a/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java b/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java index 49a22cb..c51d231 100644 --- a/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java +++ b/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java @@ -36,7 +36,7 @@ import java.util.Map; * */ public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable { - private static final long serialVersionUID = -1594665619950916222L; + private static final long serialVersionUID = 1L; static HashMapFeedInfoCache _instance; diff --git a/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java b/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java index 3e2e5f1..03f6443 100644 --- a/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java +++ b/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java @@ -21,7 +21,7 @@ public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache { private final class CacheImpl extends LinkedHashMap { - private static final long serialVersionUID = -6977191330127794920L; + private static final long serialVersionUID = 1L; public CacheImpl() { super(16, 0.75F, true); @@ -35,7 +35,7 @@ public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache { } private static final int DEFAULT_MAX_ENTRIES = 20; - private static final long serialVersionUID = 1694228973357997417L; + private static final long serialVersionUID = 1L; private static final LinkedHashMapFeedInfoCache _instance = new LinkedHashMapFeedInfoCache(); private int maxEntries = DEFAULT_MAX_ENTRIES; diff --git a/src/main/java/com/rometools/fetcher/impl/SyndFeedInfo.java b/src/main/java/com/rometools/fetcher/impl/SyndFeedInfo.java index 1c45c86..f36ae91 100644 --- a/src/main/java/com/rometools/fetcher/impl/SyndFeedInfo.java +++ b/src/main/java/com/rometools/fetcher/impl/SyndFeedInfo.java @@ -34,7 +34,7 @@ import com.sun.syndication.feed.synd.SyndFeed; * @author Nick Lothian */ public class SyndFeedInfo implements Cloneable, Serializable { - private static final long serialVersionUID = -1874786860901426015L; + private static final long serialVersionUID = 1L; private final ObjectBean _objBean; private String id;