Harmonized serialVersionIds
This commit is contained in:
parent
0ceb7c9d9b
commit
3abba8accf
36 changed files with 36 additions and 36 deletions
|
@ -28,7 +28,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
*/
|
||||
public class FeedBurnerImpl implements FeedBurner {
|
||||
|
||||
private static final long serialVersionUID = 4595722221441468838L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String awareness;
|
||||
private String origLink;
|
||||
|
|
|
@ -37,7 +37,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author Nathanial X. Freitas
|
||||
*/
|
||||
public class MediaEntryModuleImpl extends MediaModuleImpl implements MediaEntryModule, Cloneable, Serializable {
|
||||
private static final long serialVersionUID = -1564409507033924835L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/*
|
||||
* the variables in the MediaModule are set when they apply to all MediaContent instances in the set
|
||||
|
|
|
@ -37,7 +37,7 @@ import com.sun.syndication.feed.module.ModuleImpl;
|
|||
* @author cooper
|
||||
*/
|
||||
public class MediaModuleImpl extends ModuleImpl implements MediaModule, Serializable {
|
||||
private static final long serialVersionUID = 1506805082848531979L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Metadata metadata;
|
||||
private PlayerReference player;
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.io.Serializable;
|
|||
* @author cooper
|
||||
*/
|
||||
public abstract class AbstractSchemeValue implements Serializable {
|
||||
private static final long serialVersionUID = -917128796432458636L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final String scheme;
|
||||
private final String value;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Category implements Serializable {
|
||||
private static final long serialVersionUID = 5182373808661745402L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* Schem for FLICKR tags
|
||||
*/
|
||||
|
|
|
@ -83,7 +83,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Credit implements Serializable {
|
||||
private static final long serialVersionUID = 7722721287224043428L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* Scheme value for the EBU credits.
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.io.Serializable;
|
|||
* value is 'full'. It is an optional attribute.
|
||||
*/
|
||||
public class Expression implements Serializable {
|
||||
private static final long serialVersionUID = 2356898289547679768L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Represents a complete media object.
|
||||
|
|
|
@ -47,7 +47,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Hash extends AbstractSchemeValue implements Serializable {
|
||||
private static final long serialVersionUID = 3566980635881544337L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Hash
|
||||
|
|
|
@ -124,7 +124,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* within each instance of an <item> within an RSS 2.0 document.
|
||||
*/
|
||||
public class MediaContent implements Serializable {
|
||||
private static final long serialVersionUID = -4990262574794352616L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Expression expression;
|
||||
private Float bitrate = null;
|
||||
private Float framerate = null;
|
||||
|
|
|
@ -39,7 +39,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class MediaGroup implements Cloneable, Serializable {
|
||||
private static final long serialVersionUID = 768465435081309082L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer defaultContentIndex;
|
||||
private Metadata metadata;
|
||||
|
|
|
@ -56,7 +56,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Metadata implements Cloneable, Serializable {
|
||||
private static final long serialVersionUID = 649350950456005250L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Hash hash;
|
||||
private String copyright;
|
||||
|
|
|
@ -53,7 +53,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class PlayerReference implements Reference, Serializable {
|
||||
private static final long serialVersionUID = -2618211012392630834L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer height;
|
||||
private final Integer width;
|
||||
|
|
|
@ -53,7 +53,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Rating extends AbstractSchemeValue {
|
||||
private static final long serialVersionUID = 429385772347911315L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* urn:simple adult. This will be populated on the deprecated media:adult tag as well,
|
||||
|
|
|
@ -73,7 +73,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Restriction implements Serializable {
|
||||
private static final long serialVersionUID = 7944281267467298628L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Relationship relationship;
|
||||
private final String value;
|
||||
|
|
|
@ -70,7 +70,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Text implements Serializable {
|
||||
private static final long serialVersionUID = 9043514380583850045L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String type;
|
||||
private final String value;
|
||||
private Time end;
|
||||
|
|
|
@ -61,7 +61,7 @@ import com.sun.syndication.feed.impl.ToStringBean;
|
|||
* </p>
|
||||
*/
|
||||
public class Thumbnail implements Cloneable, Serializable {
|
||||
private static final long serialVersionUID = 2035345549055202026L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer thumbHeight = null;
|
||||
private Integer thumbWidth = null;
|
||||
|
|
|
@ -33,7 +33,7 @@ import com.sun.syndication.feed.impl.EqualsBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class Time implements Serializable {
|
||||
private static final long serialVersionUID = 4088522049885593073L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final long SECOND = 1000;
|
||||
private static final long MINUTE = 60 * SECOND;
|
||||
|
|
|
@ -35,7 +35,7 @@ import com.sun.syndication.feed.impl.EqualsBean;
|
|||
* @author cooper
|
||||
*/
|
||||
public class UrlReference implements Reference, Serializable {
|
||||
private static final long serialVersionUID = -178149736468242989L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final URI url;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.rometools.feed.module.opensearch;
|
|||
* @author Michael W. Nassif (enrouteinc@gmail.com)
|
||||
*/
|
||||
public class RequiredAttributeMissingException extends RuntimeException {
|
||||
private static final long serialVersionUID = -7678987346283611492L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public RequiredAttributeMissingException(final String arg0, final Throwable arg1) {
|
||||
super(arg0, arg1);
|
||||
|
|
|
@ -23,7 +23,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
* @author Michael W. Nassif (enrouteinc@gmail.com) Class representation of the Query object (Response portion so far)
|
||||
*/
|
||||
public class OSQuery implements Cloneable, Serializable {
|
||||
private static final long serialVersionUID = 3818092699440612477L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
ObjectBean _objBean = null;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import com.sun.syndication.feed.module.ModuleImpl;
|
|||
* @author Michael W. Nassif (enrouteinc@gmail.com) OpenSearch Module implementation
|
||||
*/
|
||||
public class OpenSearchModuleImpl extends ModuleImpl implements OpenSearchModule, Serializable {
|
||||
private static final long serialVersionUID = -5257107642509731500L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private int totalResults = -1;
|
||||
private int startIndex = 1;
|
||||
private int itemsPerPage = -1;
|
||||
|
|
|
@ -30,7 +30,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
*/
|
||||
public class DateValue implements EntryValue {
|
||||
|
||||
private static final long serialVersionUID = 8864338943592633517L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final ObjectBean obj = new ObjectBean(DateValue.class, this);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class Group implements Serializable, Cloneable {
|
||||
private static final long serialVersionUID = -7054101150858658108L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Namespace namespace = Namespace.XML_NAMESPACE;
|
||||
private final ObjectBean obj = new ObjectBean(Group.class, this);
|
||||
private final String element;
|
||||
|
|
|
@ -30,7 +30,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
*/
|
||||
public class NumberValue implements EntryValue {
|
||||
|
||||
private static final long serialVersionUID = 8043418996659222922L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final ObjectBean obj = new ObjectBean(NumberValue.class, this);
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class Sort implements Serializable, Cloneable {
|
||||
private static final long serialVersionUID = -5839582908829350351L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* dataType value for Date information.
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,7 @@ import com.sun.syndication.feed.impl.ObjectBean;
|
|||
*/
|
||||
public class StringValue implements EntryValue {
|
||||
|
||||
private static final long serialVersionUID = -8384073300710802173L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final ObjectBean obj = new ObjectBean(StringValue.class, this);
|
||||
|
||||
|
|
|
@ -230,7 +230,7 @@ public class SSE091Parser implements DelegatingModuleParser {
|
|||
}
|
||||
|
||||
private static class ContentFilter extends AbstractFilter<Element> {
|
||||
private static final long serialVersionUID = 9087423853758730810L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final String name;
|
||||
|
||||
private ContentFilter(final String name) {
|
||||
|
|
|
@ -9,7 +9,7 @@ import com.sun.syndication.feed.rss.Item;
|
|||
* <sx:conflict> element within <sx:conflicts>
|
||||
*/
|
||||
public class Conflict extends SSEModule {
|
||||
private static final long serialVersionUID = -6923108346241653067L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String CONFLICTS_NAME = "conflicts";
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* The sx:conflicts element MUST contain one or more sx:conflict sub-elements.
|
||||
*/
|
||||
public class Conflicts extends SSEModule {
|
||||
private static final long serialVersionUID = 2722893639295169689L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String NAME = "conflicts";
|
||||
|
||||
@Override
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* .
|
||||
*/
|
||||
public class History extends SSEModule {
|
||||
private static final long serialVersionUID = -8007994009928369002L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
// A date-time attribute.
|
||||
private Date when;
|
||||
|
|
|
@ -18,7 +18,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* .
|
||||
*/
|
||||
public class Related extends SSEModule {
|
||||
private static final long serialVersionUID = -2982701526362850770L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String NAME = "related";
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import com.sun.syndication.feed.module.Module;
|
|||
* The base module for SSE data synchronization. Defines a namespace, uri, and basic copying operations.
|
||||
*/
|
||||
public abstract class SSEModule implements Module {
|
||||
private static final long serialVersionUID = -7487775381662291314L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String SSE_SCHEMA_URI = "http://www.microsoft.com/schemas/rss/sse";
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* .
|
||||
*/
|
||||
public class Sharing extends SSEModule {
|
||||
private static final long serialVersionUID = 8626705992778126861L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String NAME = "sharing";
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* .
|
||||
*/
|
||||
public class Sync extends SSEModule {
|
||||
private static final long serialVersionUID = 3071686432594143174L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String NAME = "sync";
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import com.sun.syndication.feed.CopyFrom;
|
|||
* .
|
||||
*/
|
||||
public class Update extends SSEModule {
|
||||
private static final long serialVersionUID = 4806771926023433667L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String NAME = "update";
|
||||
public static final String BY_ATTRIBUTE = "by";
|
||||
public static final String WHEN_ATTRIBUTE = "when";
|
||||
|
|
|
@ -54,7 +54,7 @@ import com.sun.syndication.feed.module.ModuleImpl;
|
|||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class YWeatherModuleImpl extends ModuleImpl implements YWeatherEntryModule, YWeatherFeedModule {
|
||||
private static final long serialVersionUID = -4753704339578661020L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Location location;
|
||||
private Astronomy astronomy;
|
||||
private Atmosphere atmosphere;
|
||||
|
|
Loading…
Reference in a new issue