Harmonized serialVersionIds
This commit is contained in:
parent
a15e6b2f1b
commit
6eca421a93
38 changed files with 40 additions and 38 deletions
|
@ -44,7 +44,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils;
|
||||||
*/
|
*/
|
||||||
public abstract class WireFeed implements Cloneable, Serializable, Extendable {
|
public abstract class WireFeed implements Cloneable, Serializable, Extendable {
|
||||||
|
|
||||||
private static final long serialVersionUID = -3608120400805691829L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class Category implements Cloneable, Serializable {
|
public class Category implements Cloneable, Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = -2034251366664065410L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class Content implements Cloneable, Serializable {
|
public class Content implements Cloneable, Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 2036205883043031310L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ import com.sun.syndication.feed.synd.SyndPerson;
|
||||||
*/
|
*/
|
||||||
public class Entry implements Cloneable, Serializable, Extendable {
|
public class Entry implements Cloneable, Serializable, Extendable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 4874483180016783939L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private Content summary;
|
private Content summary;
|
||||||
private Content title;
|
private Content title;
|
||||||
|
|
|
@ -36,7 +36,7 @@ import com.sun.syndication.feed.synd.SyndPerson;
|
||||||
*/
|
*/
|
||||||
public class Feed extends WireFeed {
|
public class Feed extends WireFeed {
|
||||||
|
|
||||||
private static final long serialVersionUID = -9175445106675422528L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private String xmlBase;
|
private String xmlBase;
|
||||||
private List<Category> categories;
|
private List<Category> categories;
|
||||||
|
|
|
@ -28,7 +28,9 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Generator implements Cloneable, Serializable {
|
public class Generator implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = -1457065669831041059L;
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String url;
|
private String url;
|
||||||
private String version;
|
private String version;
|
||||||
|
|
|
@ -30,7 +30,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class Link implements Cloneable, Serializable {
|
public class Link implements Cloneable, Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 670365139518027828L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ import com.sun.syndication.feed.synd.SyndPerson;
|
||||||
*/
|
*/
|
||||||
public class Person implements SyndPerson, Cloneable, Serializable, Extendable {
|
public class Person implements SyndPerson, Cloneable, Serializable, Extendable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 8853656713347735541L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
|
||||||
*/
|
*/
|
||||||
public class CloneableBean implements Serializable, Cloneable {
|
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 Logger LOG = LoggerFactory.getLogger(CloneableBean.class);
|
||||||
|
|
||||||
private static final Set<Class<?>> BASIC_TYPES = new HashSet<Class<?>>();
|
private static final Set<Class<?>> BASIC_TYPES = new HashSet<Class<?>>();
|
||||||
|
|
|
@ -36,7 +36,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class EqualsBean implements Serializable {
|
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];
|
private static final Object[] NO_PARAMS = new Object[0];
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ import java.util.Set;
|
||||||
*/
|
*/
|
||||||
public class ObjectBean implements Serializable, Cloneable {
|
public class ObjectBean implements Serializable, Cloneable {
|
||||||
|
|
||||||
private static final long serialVersionUID = -8784981605711980095L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final EqualsBean equalsBean;
|
private final EqualsBean equalsBean;
|
||||||
private final ToStringBean toStringBean;
|
private final ToStringBean toStringBean;
|
||||||
|
|
|
@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
|
||||||
*/
|
*/
|
||||||
public class ToStringBean implements Serializable {
|
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 Logger LOG = LoggerFactory.getLogger(ToStringBean.class);
|
||||||
|
|
||||||
private static final ThreadLocal<Stack<String[]>> PREFIX_TL = new ThreadLocal<Stack<String[]>>() {
|
private static final ThreadLocal<Stack<String[]>> PREFIX_TL = new ThreadLocal<Stack<String[]>>() {
|
||||||
|
|
|
@ -39,7 +39,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class DCModuleImpl extends ModuleImpl implements DCModule {
|
public class DCModuleImpl extends ModuleImpl implements DCModule {
|
||||||
|
|
||||||
private static final long serialVersionUID = -6502372914221178645L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private List<String> title;
|
private List<String> title;
|
||||||
|
|
|
@ -35,7 +35,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class DCSubjectImpl implements Cloneable, Serializable, DCSubject {
|
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 static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public abstract class ModuleImpl implements Cloneable, Serializable, Module {
|
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 ObjectBean objBean;
|
||||||
private final String uri;
|
private final String uri;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ import com.sun.syndication.feed.impl.CopyFromHelper;
|
||||||
*/
|
*/
|
||||||
public class SyModuleImpl extends ModuleImpl implements SyModule {
|
public class SyModuleImpl extends ModuleImpl implements SyModule {
|
||||||
|
|
||||||
private static final long serialVersionUID = -8345879299577437933L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private static final Set<String> PERIODS = new HashSet<String>();
|
private static final Set<String> PERIODS = new HashSet<String>();
|
||||||
private static final CopyFromHelper COPY_FROM_HELPER;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Category implements Cloneable, Serializable {
|
public class Category implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = -5474322292323751503L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String domain;
|
private String domain;
|
||||||
private String value;
|
private String value;
|
||||||
|
|
|
@ -41,7 +41,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils;
|
||||||
*/
|
*/
|
||||||
public class Channel extends WireFeed {
|
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 SUNDAY = "sunday";
|
||||||
public static final String MONDAY = "monday";
|
public static final String MONDAY = "monday";
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Cloud implements Cloneable, Serializable {
|
public class Cloud implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 7380217488816772041L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String domain;
|
private String domain;
|
||||||
private int port;
|
private int port;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Content implements Cloneable, Serializable {
|
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 HTML = "html";
|
||||||
public static final String TEXT = "text";
|
public static final String TEXT = "text";
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Description implements Cloneable, Serializable {
|
public class Description implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 2110945913225451453L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String type;
|
private String type;
|
||||||
private String value;
|
private String value;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Enclosure implements Cloneable, Serializable {
|
public class Enclosure implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = -2191354241339637856L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String url;
|
private String url;
|
||||||
private long length;
|
private long length;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Guid implements Cloneable, Serializable {
|
public class Guid implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = -3915169615222624604L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private boolean permaLink;
|
private boolean permaLink;
|
||||||
private String value;
|
private String value;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Image implements Cloneable, Serializable {
|
public class Image implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 1051390283106745465L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String title;
|
private String title;
|
||||||
private String url;
|
private String url;
|
||||||
|
|
|
@ -44,7 +44,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils;
|
||||||
*/
|
*/
|
||||||
public class Item implements Cloneable, Serializable, Extendable {
|
public class Item implements Cloneable, Serializable, Extendable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 3741763947754555947L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Source implements Cloneable, Serializable {
|
public class Source implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 7117390459877365931L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String url;
|
private String url;
|
||||||
private String value;
|
private String value;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class TextInput implements Cloneable, Serializable {
|
public class TextInput implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = -3262516270222989190L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
private String title;
|
private String title;
|
||||||
private String description;
|
private String description;
|
||||||
|
|
|
@ -37,7 +37,7 @@ import com.sun.syndication.feed.module.DCSubjectImpl;
|
||||||
*/
|
*/
|
||||||
public class SyndCategoryImpl implements Serializable, SyndCategory {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class SyndContentImpl implements Serializable, SyndContent {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class SyndEnclosureImpl implements Serializable, SyndEnclosure {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ import com.sun.syndication.feed.synd.impl.URINormalizer;
|
||||||
*/
|
*/
|
||||||
public class SyndEntryImpl implements Serializable, SyndEntry {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ import com.sun.syndication.feed.synd.impl.URINormalizer;
|
||||||
*/
|
*/
|
||||||
public class SyndFeedImpl implements Serializable, SyndFeed {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
*/
|
*/
|
||||||
public class SyndImageImpl implements Serializable, SyndImage {
|
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;
|
private static final CopyFromHelper COPY_FROM_HELPER;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
||||||
* @author Dave Johnson (updated for Atom 1.0)
|
* @author Dave Johnson (updated for Atom 1.0)
|
||||||
*/
|
*/
|
||||||
public class SyndLinkImpl implements Cloneable, Serializable, SyndLink {
|
public class SyndLinkImpl implements Cloneable, Serializable, SyndLink {
|
||||||
private static final long serialVersionUID = -3620141754437170078L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ import com.sun.syndication.feed.module.impl.ModuleUtils;
|
||||||
*/
|
*/
|
||||||
public class SyndPersonImpl implements Serializable, SyndPerson {
|
public class SyndPersonImpl implements Serializable, SyndPerson {
|
||||||
|
|
||||||
private static final long serialVersionUID = 8523373264589239335L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final ObjectBean objBean;
|
private final ObjectBean objBean;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ package com.sun.syndication.io;
|
||||||
*/
|
*/
|
||||||
public class FeedException extends Exception {
|
public class FeedException extends Exception {
|
||||||
|
|
||||||
private static final long serialVersionUID = -8761681574235401334L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a FeedException with a message.
|
* Creates a FeedException with a message.
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.jdom2.input.JDOMParseException;
|
||||||
*/
|
*/
|
||||||
public class ParsingFeedException extends FeedException {
|
public class ParsingFeedException extends FeedException {
|
||||||
|
|
||||||
private static final long serialVersionUID = -4791878470117677698L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a FeedException with a message.
|
* Creates a FeedException with a message.
|
||||||
|
|
|
@ -16,7 +16,7 @@ import java.io.InputStream;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class XmlReaderException extends IOException {
|
public class XmlReaderException extends IOException {
|
||||||
private static final long serialVersionUID = 622706428081721579L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final String bomEncoding;
|
private final String bomEncoding;
|
||||||
private final String xmlGuessEncoding;
|
private final String xmlGuessEncoding;
|
||||||
private final String xmlEncoding;
|
private final String xmlEncoding;
|
||||||
|
|
Loading…
Reference in a new issue