From 6eca421a93d374f7234c2cb5d8f124329fd20c39 Mon Sep 17 00:00:00 2001 From: Patrick Gotthard Date: Tue, 13 May 2014 19:25:55 +0200 Subject: [PATCH] Harmonized serialVersionIds --- src/main/java/com/sun/syndication/feed/WireFeed.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Category.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Content.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Entry.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Feed.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Generator.java | 4 +++- src/main/java/com/sun/syndication/feed/atom/Link.java | 2 +- src/main/java/com/sun/syndication/feed/atom/Person.java | 2 +- .../java/com/sun/syndication/feed/impl/CloneableBean.java | 2 +- src/main/java/com/sun/syndication/feed/impl/EqualsBean.java | 2 +- src/main/java/com/sun/syndication/feed/impl/ObjectBean.java | 2 +- src/main/java/com/sun/syndication/feed/impl/ToStringBean.java | 2 +- .../java/com/sun/syndication/feed/module/DCModuleImpl.java | 2 +- .../java/com/sun/syndication/feed/module/DCSubjectImpl.java | 2 +- src/main/java/com/sun/syndication/feed/module/ModuleImpl.java | 2 +- .../java/com/sun/syndication/feed/module/SyModuleImpl.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Category.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Channel.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Cloud.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Content.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Description.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Enclosure.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Guid.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Image.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Item.java | 2 +- src/main/java/com/sun/syndication/feed/rss/Source.java | 2 +- src/main/java/com/sun/syndication/feed/rss/TextInput.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndCategoryImpl.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndContentImpl.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndEnclosureImpl.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndEntryImpl.java | 2 +- src/main/java/com/sun/syndication/feed/synd/SyndFeedImpl.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndImageImpl.java | 2 +- src/main/java/com/sun/syndication/feed/synd/SyndLinkImpl.java | 2 +- .../java/com/sun/syndication/feed/synd/SyndPersonImpl.java | 2 +- src/main/java/com/sun/syndication/io/FeedException.java | 2 +- .../java/com/sun/syndication/io/ParsingFeedException.java | 2 +- src/main/java/com/sun/syndication/io/XmlReaderException.java | 2 +- 38 files changed, 40 insertions(+), 38 deletions(-) diff --git a/src/main/java/com/sun/syndication/feed/WireFeed.java b/src/main/java/com/sun/syndication/feed/WireFeed.java index 98383e0..ad023c8 100644 --- a/src/main/java/com/sun/syndication/feed/WireFeed.java +++ b/src/main/java/com/sun/syndication/feed/WireFeed.java @@ -44,7 +44,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils; */ public abstract class WireFeed implements Cloneable, Serializable, Extendable { - private static final long serialVersionUID = -3608120400805691829L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/atom/Category.java b/src/main/java/com/sun/syndication/feed/atom/Category.java index 627a653..f7f4748 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Category.java +++ b/src/main/java/com/sun/syndication/feed/atom/Category.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class Category implements Cloneable, Serializable { - private static final long serialVersionUID = -2034251366664065410L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/atom/Content.java b/src/main/java/com/sun/syndication/feed/atom/Content.java index aad57b4..990595d 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Content.java +++ b/src/main/java/com/sun/syndication/feed/atom/Content.java @@ -32,7 +32,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class Content implements Cloneable, Serializable { - private static final long serialVersionUID = 2036205883043031310L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/atom/Entry.java b/src/main/java/com/sun/syndication/feed/atom/Entry.java index aa43ab1..283c964 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Entry.java +++ b/src/main/java/com/sun/syndication/feed/atom/Entry.java @@ -39,7 +39,7 @@ import com.sun.syndication.feed.synd.SyndPerson; */ public class Entry implements Cloneable, Serializable, Extendable { - private static final long serialVersionUID = 4874483180016783939L; + private static final long serialVersionUID = 1L; private Content summary; private Content title; diff --git a/src/main/java/com/sun/syndication/feed/atom/Feed.java b/src/main/java/com/sun/syndication/feed/atom/Feed.java index a066931..e1f8c30 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Feed.java +++ b/src/main/java/com/sun/syndication/feed/atom/Feed.java @@ -36,7 +36,7 @@ import com.sun.syndication.feed.synd.SyndPerson; */ public class Feed extends WireFeed { - private static final long serialVersionUID = -9175445106675422528L; + private static final long serialVersionUID = 1L; private String xmlBase; private List categories; diff --git a/src/main/java/com/sun/syndication/feed/atom/Generator.java b/src/main/java/com/sun/syndication/feed/atom/Generator.java index e83ad01..0f8f712 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Generator.java +++ b/src/main/java/com/sun/syndication/feed/atom/Generator.java @@ -28,7 +28,9 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Generator implements Cloneable, Serializable { - private static final long serialVersionUID = -1457065669831041059L; + + private static final long serialVersionUID = 1L; + private final ObjectBean objBean; private String url; private String version; diff --git a/src/main/java/com/sun/syndication/feed/atom/Link.java b/src/main/java/com/sun/syndication/feed/atom/Link.java index 878d8b8..4385be0 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Link.java +++ b/src/main/java/com/sun/syndication/feed/atom/Link.java @@ -30,7 +30,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class Link implements Cloneable, Serializable { - private static final long serialVersionUID = 670365139518027828L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/atom/Person.java b/src/main/java/com/sun/syndication/feed/atom/Person.java index d428022..f86f786 100644 --- a/src/main/java/com/sun/syndication/feed/atom/Person.java +++ b/src/main/java/com/sun/syndication/feed/atom/Person.java @@ -36,7 +36,7 @@ import com.sun.syndication.feed.synd.SyndPerson; */ public class Person implements SyndPerson, Cloneable, Serializable, Extendable { - private static final long serialVersionUID = 8853656713347735541L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java b/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java index 5765ccf..a0fd655 100644 --- a/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java +++ b/src/main/java/com/sun/syndication/feed/impl/CloneableBean.java @@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory; */ public class CloneableBean implements Serializable, Cloneable { - private static final long serialVersionUID = -6520053043831187823L; + private static final long serialVersionUID = 1L; private static final Logger LOG = LoggerFactory.getLogger(CloneableBean.class); private static final Set> BASIC_TYPES = new HashSet>(); diff --git a/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java b/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java index 0ae0557..3afd40a 100644 --- a/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java +++ b/src/main/java/com/sun/syndication/feed/impl/EqualsBean.java @@ -36,7 +36,7 @@ import java.util.List; */ public class EqualsBean implements Serializable { - private static final long serialVersionUID = 9120107899175152601L; + private static final long serialVersionUID = 1L; private static final Object[] NO_PARAMS = new Object[0]; diff --git a/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java b/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java index 46ffe9e..4eceb4c 100644 --- a/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java +++ b/src/main/java/com/sun/syndication/feed/impl/ObjectBean.java @@ -42,7 +42,7 @@ import java.util.Set; */ public class ObjectBean implements Serializable, Cloneable { - private static final long serialVersionUID = -8784981605711980095L; + private static final long serialVersionUID = 1L; private final EqualsBean equalsBean; private final ToStringBean toStringBean; diff --git a/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java b/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java index bdb6c0f..0e0e524 100644 --- a/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java +++ b/src/main/java/com/sun/syndication/feed/impl/ToStringBean.java @@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory; */ public class ToStringBean implements Serializable { - private static final long serialVersionUID = -5850496718959612854L; + private static final long serialVersionUID = 1L; private static final Logger LOG = LoggerFactory.getLogger(ToStringBean.class); private static final ThreadLocal> PREFIX_TL = new ThreadLocal>() { diff --git a/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java index a3d2cb5..003ba3e 100644 --- a/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java +++ b/src/main/java/com/sun/syndication/feed/module/DCModuleImpl.java @@ -39,7 +39,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class DCModuleImpl extends ModuleImpl implements DCModule { - private static final long serialVersionUID = -6502372914221178645L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private List title; diff --git a/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java b/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java index d3f8099..288da8b 100644 --- a/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java +++ b/src/main/java/com/sun/syndication/feed/module/DCSubjectImpl.java @@ -35,7 +35,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject { - private static final long serialVersionUID = 6276396184267118968L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java index a669807..ba07408 100644 --- a/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java +++ b/src/main/java/com/sun/syndication/feed/module/ModuleImpl.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public abstract class ModuleImpl implements Cloneable, Serializable, Module { - private static final long serialVersionUID = 3621352305155841238L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private final String uri; diff --git a/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java b/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java index 1b8629f..10b809f 100644 --- a/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java +++ b/src/main/java/com/sun/syndication/feed/module/SyModuleImpl.java @@ -37,7 +37,7 @@ import com.sun.syndication.feed.impl.CopyFromHelper; */ public class SyModuleImpl extends ModuleImpl implements SyModule { - private static final long serialVersionUID = -8345879299577437933L; + private static final long serialVersionUID = 1L; private static final Set PERIODS = new HashSet(); private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/rss/Category.java b/src/main/java/com/sun/syndication/feed/rss/Category.java index 4d60e53..9da6497 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Category.java +++ b/src/main/java/com/sun/syndication/feed/rss/Category.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Category implements Cloneable, Serializable { - private static final long serialVersionUID = -5474322292323751503L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String domain; private String value; diff --git a/src/main/java/com/sun/syndication/feed/rss/Channel.java b/src/main/java/com/sun/syndication/feed/rss/Channel.java index a239b21..20772a8 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Channel.java +++ b/src/main/java/com/sun/syndication/feed/rss/Channel.java @@ -41,7 +41,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils; */ public class Channel extends WireFeed { - private static final long serialVersionUID = 745207486449728472L; + private static final long serialVersionUID = 1L; public static final String SUNDAY = "sunday"; public static final String MONDAY = "monday"; diff --git a/src/main/java/com/sun/syndication/feed/rss/Cloud.java b/src/main/java/com/sun/syndication/feed/rss/Cloud.java index 6c7c92d..e8b4035 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Cloud.java +++ b/src/main/java/com/sun/syndication/feed/rss/Cloud.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Cloud implements Cloneable, Serializable { - private static final long serialVersionUID = 7380217488816772041L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String domain; private int port; diff --git a/src/main/java/com/sun/syndication/feed/rss/Content.java b/src/main/java/com/sun/syndication/feed/rss/Content.java index 139dcf8..5e3562a 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Content.java +++ b/src/main/java/com/sun/syndication/feed/rss/Content.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Content implements Cloneable, Serializable { - private static final long serialVersionUID = -9157875649722243971L; + private static final long serialVersionUID = 1L; public static final String HTML = "html"; public static final String TEXT = "text"; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/rss/Description.java b/src/main/java/com/sun/syndication/feed/rss/Description.java index 41870cd..0bcb3c4 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Description.java +++ b/src/main/java/com/sun/syndication/feed/rss/Description.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Description implements Cloneable, Serializable { - private static final long serialVersionUID = 2110945913225451453L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String type; private String value; diff --git a/src/main/java/com/sun/syndication/feed/rss/Enclosure.java b/src/main/java/com/sun/syndication/feed/rss/Enclosure.java index 757228d..86ae173 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Enclosure.java +++ b/src/main/java/com/sun/syndication/feed/rss/Enclosure.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Enclosure implements Cloneable, Serializable { - private static final long serialVersionUID = -2191354241339637856L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String url; private long length; diff --git a/src/main/java/com/sun/syndication/feed/rss/Guid.java b/src/main/java/com/sun/syndication/feed/rss/Guid.java index 2d6ac0e..aa82896 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Guid.java +++ b/src/main/java/com/sun/syndication/feed/rss/Guid.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Guid implements Cloneable, Serializable { - private static final long serialVersionUID = -3915169615222624604L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private boolean permaLink; private String value; diff --git a/src/main/java/com/sun/syndication/feed/rss/Image.java b/src/main/java/com/sun/syndication/feed/rss/Image.java index 9235cda..7754cd8 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Image.java +++ b/src/main/java/com/sun/syndication/feed/rss/Image.java @@ -28,7 +28,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Image implements Cloneable, Serializable { - private static final long serialVersionUID = 1051390283106745465L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String title; private String url; diff --git a/src/main/java/com/sun/syndication/feed/rss/Item.java b/src/main/java/com/sun/syndication/feed/rss/Item.java index 3e86da8..c3c3987 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Item.java +++ b/src/main/java/com/sun/syndication/feed/rss/Item.java @@ -44,7 +44,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils; */ public class Item implements Cloneable, Serializable, Extendable { - private static final long serialVersionUID = 3741763947754555947L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/rss/Source.java b/src/main/java/com/sun/syndication/feed/rss/Source.java index c7442f2..1600fac 100644 --- a/src/main/java/com/sun/syndication/feed/rss/Source.java +++ b/src/main/java/com/sun/syndication/feed/rss/Source.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class Source implements Cloneable, Serializable { - private static final long serialVersionUID = 7117390459877365931L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String url; private String value; diff --git a/src/main/java/com/sun/syndication/feed/rss/TextInput.java b/src/main/java/com/sun/syndication/feed/rss/TextInput.java index 3239d2d..e62e4ae 100644 --- a/src/main/java/com/sun/syndication/feed/rss/TextInput.java +++ b/src/main/java/com/sun/syndication/feed/rss/TextInput.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * */ public class TextInput implements Cloneable, Serializable { - private static final long serialVersionUID = -3262516270222989190L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; private String title; private String description; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndCategoryImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndCategoryImpl.java index 120f8d1..4659112 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndCategoryImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndCategoryImpl.java @@ -37,7 +37,7 @@ import com.sun.syndication.feed.module.DCSubjectImpl; */ public class SyndCategoryImpl implements Serializable, SyndCategory { - private static final long serialVersionUID = -2151815243404151131L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndContentImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndContentImpl.java index c979e08..873c859 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndContentImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndContentImpl.java @@ -34,7 +34,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class SyndContentImpl implements Serializable, SyndContent { - private static final long serialVersionUID = -8831050456661121113L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndEnclosureImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndEnclosureImpl.java index 30272cc..b86406b 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndEnclosureImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndEnclosureImpl.java @@ -14,7 +14,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class SyndEnclosureImpl implements Serializable, SyndEnclosure { - private static final long serialVersionUID = -5813049622142257411L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndEntryImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndEntryImpl.java index cc4ed3f..fcb0041 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndEntryImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndEntryImpl.java @@ -51,7 +51,7 @@ import com.sun.syndication.feed.synd.impl.URINormalizer; */ public class SyndEntryImpl implements Serializable, SyndEntry { - private static final long serialVersionUID = 1944144041409866698L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndFeedImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndFeedImpl.java index d49d32e..f5898a0 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndFeedImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndFeedImpl.java @@ -53,7 +53,7 @@ import com.sun.syndication.feed.synd.impl.URINormalizer; */ public class SyndFeedImpl implements Serializable, SyndFeed { - private static final long serialVersionUID = -2529165503200548045L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndImageImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndImageImpl.java index c4db769..1027ce9 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndImageImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndImageImpl.java @@ -34,7 +34,7 @@ import com.sun.syndication.feed.impl.ObjectBean; */ public class SyndImageImpl implements Serializable, SyndImage { - private static final long serialVersionUID = 5078981553559513247L; + private static final long serialVersionUID = 1L; private static final CopyFromHelper COPY_FROM_HELPER; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndLinkImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndLinkImpl.java index 2908fb7..f53b398 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndLinkImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndLinkImpl.java @@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean; * @author Dave Johnson (updated for Atom 1.0) */ public class SyndLinkImpl implements Cloneable, Serializable, SyndLink { - private static final long serialVersionUID = -3620141754437170078L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/feed/synd/SyndPersonImpl.java b/src/main/java/com/sun/syndication/feed/synd/SyndPersonImpl.java index fa6346c..035a275 100644 --- a/src/main/java/com/sun/syndication/feed/synd/SyndPersonImpl.java +++ b/src/main/java/com/sun/syndication/feed/synd/SyndPersonImpl.java @@ -34,7 +34,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils; */ public class SyndPersonImpl implements Serializable, SyndPerson { - private static final long serialVersionUID = 8523373264589239335L; + private static final long serialVersionUID = 1L; private final ObjectBean objBean; diff --git a/src/main/java/com/sun/syndication/io/FeedException.java b/src/main/java/com/sun/syndication/io/FeedException.java index 6b6d87b..19dcc86 100644 --- a/src/main/java/com/sun/syndication/io/FeedException.java +++ b/src/main/java/com/sun/syndication/io/FeedException.java @@ -25,7 +25,7 @@ package com.sun.syndication.io; */ public class FeedException extends Exception { - private static final long serialVersionUID = -8761681574235401334L; + private static final long serialVersionUID = 1L; /** * Creates a FeedException with a message. diff --git a/src/main/java/com/sun/syndication/io/ParsingFeedException.java b/src/main/java/com/sun/syndication/io/ParsingFeedException.java index 8088fea..af2982c 100644 --- a/src/main/java/com/sun/syndication/io/ParsingFeedException.java +++ b/src/main/java/com/sun/syndication/io/ParsingFeedException.java @@ -26,7 +26,7 @@ import org.jdom2.input.JDOMParseException; */ public class ParsingFeedException extends FeedException { - private static final long serialVersionUID = -4791878470117677698L; + private static final long serialVersionUID = 1L; /** * Creates a FeedException with a message. diff --git a/src/main/java/com/sun/syndication/io/XmlReaderException.java b/src/main/java/com/sun/syndication/io/XmlReaderException.java index 0289834..1529b48 100644 --- a/src/main/java/com/sun/syndication/io/XmlReaderException.java +++ b/src/main/java/com/sun/syndication/io/XmlReaderException.java @@ -16,7 +16,7 @@ import java.io.InputStream; * */ public class XmlReaderException extends IOException { - private static final long serialVersionUID = 622706428081721579L; + private static final long serialVersionUID = 1L; private final String bomEncoding; private final String xmlGuessEncoding; private final String xmlEncoding;