Harmonized serialVersionIds

This commit is contained in:
Patrick Gotthard 2014-05-13 19:26:02 +02:00
parent c5274d1ab0
commit eb42124975
5 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

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

View file

@ -21,7 +21,7 @@ public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
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;

View file

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