Remove useless comments
Removed: * Empty comments * Empty @param and @return tags * Comments explaining how Java constructors work * Comments copy-pasted from parent classes * Comments begging to write documentation
This commit is contained in:
parent
c36bfd8f47
commit
ac7d9c83b5
146 changed files with 27 additions and 576 deletions
|
@ -23,9 +23,6 @@ import com.rometools.rome.feed.atom.Entry;
|
|||
|
||||
public abstract class ActivityObject extends Entry implements HasLocation {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public abstract String getTypeIRI();
|
||||
|
|
|
@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* </blockquote>
|
||||
*/
|
||||
public class Article extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,9 +42,7 @@ package com.rometools.modules.activitystreams.types;
|
|||
* </dl>
|
||||
*/
|
||||
public class Audio extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String embedCode;
|
||||
private String streamLink;
|
||||
|
|
|
@ -73,9 +73,6 @@ import com.rometools.rome.feed.atom.Link;
|
|||
*/
|
||||
public class Bookmark extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -52,9 +52,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Comment extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Event extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -48,9 +48,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class File extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,9 +42,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Folder extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,9 +30,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class List extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -49,9 +49,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Note extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -47,9 +47,6 @@ import com.rometools.rome.feed.atom.Link;
|
|||
*/
|
||||
public class Person extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Photo extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -41,9 +41,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class PhotoAlbum extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -45,9 +45,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Place extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -33,9 +33,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Playlist extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Product extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -55,9 +55,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Review extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -45,9 +45,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Service extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -37,9 +37,7 @@ package com.rometools.modules.activitystreams.types;
|
|||
* </p>
|
||||
*/
|
||||
public class Song extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Audio audio;
|
||||
|
||||
|
|
|
@ -41,9 +41,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
*/
|
||||
public class Status extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -182,9 +182,6 @@ public enum Verb {
|
|||
RSVP_NO("http://activitystrea.ms/schema/1.0/rsvp-no");
|
||||
private final String iri;
|
||||
|
||||
/**
|
||||
* @param iri
|
||||
*/
|
||||
Verb(final String iri) {
|
||||
this.iri = iri;
|
||||
}
|
||||
|
@ -194,11 +191,6 @@ public enum Verb {
|
|||
return iri;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param iri
|
||||
* @return
|
||||
*/
|
||||
public static Verb fromIRI(final String iri) {
|
||||
for (final Verb v : Verb.values()) {
|
||||
if (v.toString().equals(iri)) {
|
||||
|
|
|
@ -27,7 +27,6 @@ public class CustomTagImpl implements CustomTag {
|
|||
private Object value;
|
||||
private final String name;
|
||||
|
||||
/** Creates a new instance of CustomTagImpl */
|
||||
public CustomTagImpl(final String name, final String value) {
|
||||
if (name == null || value == null) {
|
||||
throw new NullPointerException("Name and Value cannont be null.");
|
||||
|
@ -137,62 +136,6 @@ public class CustomTagImpl implements CustomTag {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and returns a copy of this object. The precise meaning of "copy" may depend on the
|
||||
* class of the object. The general intent is that, for any object <tt>x</tt>, the expression:
|
||||
* <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone() != x
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be true, and that the expression: <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone().getClass() == x.getClass()
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be <tt>true</tt>, but these are not absolute requirements. While it is
|
||||
* typically the case that: <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone().equals(x)
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be <tt>true</tt>, this is not an absolute requirement.
|
||||
* <p>
|
||||
* By convention, the returned object should be obtained by calling <tt>super.clone</tt>. If a
|
||||
* class and all of its superclasses (except <tt>Object</tt>) obey this convention, it will be
|
||||
* the case that <tt>x.clone().getClass() == x.getClass()</tt>.
|
||||
* <p>
|
||||
* By convention, the object returned by this method should be independent of this object (which
|
||||
* is being cloned). To achieve this independence, it may be necessary to modify one or more
|
||||
* fields of the object returned by <tt>super.clone</tt> before returning it. Typically, this
|
||||
* means copying any mutable objects that comprise the internal "deep structure" of the object
|
||||
* being cloned and replacing the references to these objects with references to the copies. If
|
||||
* a class contains only primitive fields or references to immutable objects, then it is usually
|
||||
* the case that no fields in the object returned by <tt>super.clone</tt> need to be modified.
|
||||
* <p>
|
||||
* The method <tt>clone</tt> for class <tt>Object</tt> performs a specific cloning operation.
|
||||
* First, if the class of this object does not implement the interface <tt>Cloneable</tt>, then
|
||||
* a <tt>CloneNotSupportedException</tt> is thrown. Note that all arrays are considered to
|
||||
* implement the interface <tt>Cloneable</tt>. Otherwise, this method creates a new instance of
|
||||
* the class of this object and initializes all its fields with exactly the contents of the
|
||||
* corresponding fields of this object, as if by assignment; the contents of the fields are not
|
||||
* themselves cloned. Thus, this method performs a "shallow copy" of this object, not a
|
||||
* "deep copy" operation.
|
||||
* <p>
|
||||
* The class <tt>Object</tt> does not itself implement the interface <tt>Cloneable</tt>, so
|
||||
* calling the <tt>clone</tt> method on an object whose class is <tt>Object</tt> will result in
|
||||
* throwing an exception at run time.
|
||||
*
|
||||
* @return a clone of this instance.
|
||||
* @exception CloneNotSupportedException if the object's class does not support the
|
||||
* <code>Cloneable</code> interface. Subclasses that override the
|
||||
* <code>clone</code> method can also throw this exception to indicate that an
|
||||
* instance cannot be cloned.
|
||||
* @see java.lang.Cloneable
|
||||
*/
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException {
|
||||
final CustomTagImpl cti = new CustomTagImpl(name, "");
|
||||
|
|
|
@ -41,9 +41,7 @@ import com.rometools.rome.feed.impl.EqualsBean;
|
|||
* This is the implementation class for the GoogleBase module interface.
|
||||
*/
|
||||
public class GoogleBaseImpl implements GoogleBase {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseImpl.class);
|
||||
|
@ -324,11 +322,6 @@ public class GoogleBaseImpl implements GoogleBase {
|
|||
/** string:subject */
|
||||
private String[] subjects;
|
||||
|
||||
/**
|
||||
* DOCUMENT ME!
|
||||
*
|
||||
* @param actors
|
||||
*/
|
||||
@Override
|
||||
public void setActors(final String[] actors) {
|
||||
this.actors = actors;
|
||||
|
|
|
@ -22,12 +22,8 @@ package com.rometools.modules.base;
|
|||
*/
|
||||
public class ValidationException extends RuntimeException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of ValidationException */
|
||||
public ValidationException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@ public class CustomTagGenerator implements ModuleGenerator {
|
|||
NAMESPACES.add(CustomTagParser.NS);
|
||||
}
|
||||
|
||||
/** Creates a new instance of CustomTagGenerator */
|
||||
public CustomTagGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ public class CustomTagParser implements ModuleParser {
|
|||
|
||||
static final Namespace NS = Namespace.getNamespace("g-custom", CustomTags.URI);
|
||||
|
||||
/** Creates a new instance of CustomTagParser */
|
||||
public CustomTagParser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ public class GoogleBaseGenerator implements ModuleGenerator {
|
|||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseGenerator.class);
|
||||
|
||||
/** Creates a new instance of GoogleBaseGenerator */
|
||||
public GoogleBaseGenerator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -49,9 +49,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* DOCUMENT ME!
|
||||
*/
|
||||
public class GoogleBaseParser implements ModuleParser {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseParser.class);
|
||||
|
@ -75,9 +72,6 @@ public class GoogleBaseParser implements ModuleParser {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of GoogleBaseParser
|
||||
*/
|
||||
public GoogleBaseParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -544,11 +544,6 @@ public class CurrencyEnumeration {
|
|||
// </xs:restriction>
|
||||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of CurrencyEnumeration
|
||||
*
|
||||
* @param value DOCUMENT ME!
|
||||
*/
|
||||
private CurrencyEnumeration(final String value) {
|
||||
this.value = value;
|
||||
lookup.put(value, this);
|
||||
|
|
|
@ -31,8 +31,6 @@ public class DateTimeRange implements CloneableType {
|
|||
private Date start;
|
||||
|
||||
/**
|
||||
* Creates a new instance of DateTimeRange
|
||||
*
|
||||
* @param start Beginning of the timeframe.
|
||||
* @param end End of the Timeframe.
|
||||
*/
|
||||
|
|
|
@ -73,8 +73,6 @@ public class FloatUnit implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of FloatUnit
|
||||
*
|
||||
* @param value float value
|
||||
* @param units Units represented, or null.
|
||||
*/
|
||||
|
|
|
@ -50,7 +50,6 @@ public class IntUnit implements CloneableType {
|
|||
}
|
||||
}
|
||||
|
||||
/** Creates a new instance of IntUnit */
|
||||
public IntUnit(final int value, final String units) {
|
||||
this.value = value;
|
||||
this.units = units;
|
||||
|
|
|
@ -32,7 +32,6 @@ public class PaymentTypeEnumeration {
|
|||
public static final PaymentTypeEnumeration PAYPAL = new PaymentTypeEnumeration("Paypal");
|
||||
private final String value;
|
||||
|
||||
/** Creates a new instance of PaymentTypeEnumeration */
|
||||
private PaymentTypeEnumeration(final String value) {
|
||||
this.value = value;
|
||||
lookup.put(this.value.toUpperCase(), this);
|
||||
|
|
|
@ -33,8 +33,6 @@ public class PriceTypeEnumeration implements CloneableType {
|
|||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of PriceTypeEnumeration
|
||||
*
|
||||
* @param value Value to encapsulate
|
||||
*/
|
||||
private PriceTypeEnumeration(final String value) {
|
||||
|
|
|
@ -35,8 +35,6 @@ public class ShippingType implements CloneableType {
|
|||
private final String country;
|
||||
|
||||
/**
|
||||
* Creates a new instance of ShippingType
|
||||
*
|
||||
* @param price The price of the shipping option
|
||||
* @param service Shipping service used.
|
||||
* @param country Country shipped to.
|
||||
|
@ -132,8 +130,6 @@ public class ShippingType implements CloneableType {
|
|||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of ServiceEnumeration.
|
||||
*
|
||||
* @param value String value to encapsulate.
|
||||
*/
|
||||
private ServiceEnumeration(final String value) {
|
||||
|
|
|
@ -24,12 +24,9 @@ import java.util.Date;
|
|||
* Move along. Nothing to see here.
|
||||
*/
|
||||
public class ShortDate extends Date implements CloneableType {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of ShortDate */
|
||||
public ShortDate() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -50,8 +50,6 @@ public class Size implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Size
|
||||
*
|
||||
* @param length lenght value
|
||||
* @param width width value
|
||||
*/
|
||||
|
@ -61,8 +59,6 @@ public class Size implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Size.
|
||||
*
|
||||
* @param length Length value.
|
||||
* @param width Width value.
|
||||
* @param height Height value.
|
||||
|
|
|
@ -37,8 +37,6 @@ public class YearType implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of YearType
|
||||
*
|
||||
* @param date Date to get the year from.
|
||||
*/
|
||||
public YearType(final Date date) {
|
||||
|
|
|
@ -45,9 +45,6 @@ public class CCModuleGenerator implements ModuleGenerator {
|
|||
NAMESPACES.add(RDF);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of CCModuleGenerator
|
||||
*/
|
||||
public CCModuleGenerator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -35,9 +35,6 @@ public class ModuleParserRSS1 implements ModuleParser {
|
|||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS1_URI);
|
||||
static final Namespace RDF = Namespace.getNamespace(CreativeCommonsImpl.RDF_URI);
|
||||
|
||||
/**
|
||||
* Creates a new instance of ModuleParserRSS1
|
||||
*/
|
||||
public ModuleParserRSS1() {
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ public class ModuleParserRSS2 implements ModuleParser {
|
|||
|
||||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS2_URI);
|
||||
|
||||
/** Creates a new instance of ModuleParserRSS2 */
|
||||
public ModuleParserRSS2() {
|
||||
}
|
||||
|
||||
|
|
|
@ -59,9 +59,6 @@ public class License {
|
|||
private final Behaviour[] permits;
|
||||
private final Behaviour[] requires;
|
||||
|
||||
/**
|
||||
* Creates a new instance of License
|
||||
*/
|
||||
public License(final String uri, final Behaviour[] requires, final Behaviour[] permits) {
|
||||
this.requires = requires;
|
||||
this.permits = permits;
|
||||
|
|
|
@ -37,7 +37,6 @@ public class ContentItem implements Cloneable {
|
|||
private List<Namespace> contentValueNamespace;
|
||||
private String contentResource;
|
||||
|
||||
/** Creates a new instance of ContentItem */
|
||||
public ContentItem() {
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGener
|
|||
NAMESPACES = Collections.unmodifiableSet(nss);
|
||||
}
|
||||
|
||||
/** Creates a new instance of ContentModuleGenerator */
|
||||
public ContentModuleGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ public class ContentModuleParser implements com.rometools.rome.io.ModuleParser {
|
|||
private static final Namespace CONTENT_NS = Namespace.getNamespace("content", ContentModule.URI);
|
||||
private static final Namespace RDF_NS = Namespace.getNamespace("rdf", ContentModule.RDF_URI);
|
||||
|
||||
/** Creates a new instance of ContentModuleParser */
|
||||
public ContentModuleParser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -19,12 +19,8 @@ package com.rometools.modules.georss.geometries;
|
|||
*/
|
||||
public abstract class AbstractCurve extends AbstractGeometricPrimitive {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of Curve */
|
||||
public AbstractCurve() {
|
||||
}
|
||||
|
||||
|
|
|
@ -20,12 +20,8 @@ package com.rometools.modules.georss.geometries;
|
|||
*/
|
||||
public abstract class AbstractGeometricPrimitive extends AbstractGeometry {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of GeometricPrimitive */
|
||||
public AbstractGeometricPrimitive() {
|
||||
|
||||
}
|
||||
|
|
|
@ -22,12 +22,8 @@ import java.io.Serializable;
|
|||
*/
|
||||
public abstract class AbstractGeometry implements Cloneable, Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of Geometry */
|
||||
public AbstractGeometry() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,12 +22,8 @@ import java.io.Serializable;
|
|||
*/
|
||||
public abstract class AbstractRing implements Cloneable, Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of AbstractRing */
|
||||
public AbstractRing() {
|
||||
}
|
||||
|
||||
|
|
|
@ -20,12 +20,8 @@ package com.rometools.modules.georss.geometries;
|
|||
*/
|
||||
public abstract class AbstractSurface extends AbstractGeometricPrimitive {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of Surface */
|
||||
public AbstractSurface() {
|
||||
}
|
||||
|
||||
|
|
|
@ -21,24 +21,16 @@ package com.rometools.modules.georss.geometries;
|
|||
* than the maxLongitude.
|
||||
*/
|
||||
public class Envelope extends AbstractGeometry {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
protected double minLatitude, minLongitude, maxLatitude, maxLongitude;
|
||||
|
||||
/** Creates a new instance of Envelope */
|
||||
public Envelope() {
|
||||
minLatitude = minLongitude = maxLatitude = maxLongitude = Double.NaN;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct object from coordinate values
|
||||
*
|
||||
* @param minLatitude
|
||||
* @param minLongitude
|
||||
* @param maxLatitude
|
||||
* @param maxLongitude
|
||||
*/
|
||||
public Envelope(final double minLatitude, final double minLongitude, final double maxLatitude, final double maxLongitude) {
|
||||
this.minLatitude = minLatitude;
|
||||
|
|
|
@ -19,13 +19,10 @@ package com.rometools.modules.georss.geometries;
|
|||
* Linear object constructed by linear interpolation between points
|
||||
*/
|
||||
public final class LineString extends AbstractCurve {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private PositionList posList;
|
||||
|
||||
/** Creates a new instance of LineString */
|
||||
public LineString() {
|
||||
|
||||
}
|
||||
|
|
|
@ -20,13 +20,10 @@ package com.rometools.modules.georss.geometries;
|
|||
* should be identical.
|
||||
*/
|
||||
public final class LinearRing extends AbstractRing {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private PositionList posList;
|
||||
|
||||
/** Creates a new instance of LinearLing */
|
||||
public LinearRing() {
|
||||
}
|
||||
|
||||
|
|
|
@ -19,13 +19,10 @@ package com.rometools.modules.georss.geometries;
|
|||
* Point object, contains a position
|
||||
*/
|
||||
public final class Point extends AbstractGeometricPrimitive {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Position pos;
|
||||
|
||||
/** Creates a new instance of Point */
|
||||
public Point() {
|
||||
|
||||
}
|
||||
|
|
|
@ -23,14 +23,11 @@ import java.util.List;
|
|||
* Polygon, a surface object bounded by one external ring and zero or more internal rings
|
||||
*/
|
||||
public final class Polygon extends AbstractSurface implements Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private AbstractRing exterior;
|
||||
private List<AbstractRing> interior;
|
||||
|
||||
/** Creates a new instance of Polygon */
|
||||
public Polygon() {
|
||||
|
||||
}
|
||||
|
|
|
@ -21,14 +21,11 @@ import java.io.Serializable;
|
|||
* A two dimensional position represented by latitude and longitude decimal degrees in WGS84
|
||||
*/
|
||||
public class Position implements Cloneable, Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private double latitude;
|
||||
private double longitude;
|
||||
|
||||
/** Creates a new instance of Position */
|
||||
public Position() {
|
||||
latitude = Double.NaN;
|
||||
longitude = Double.NaN;
|
||||
|
@ -36,9 +33,6 @@ public class Position implements Cloneable, Serializable {
|
|||
|
||||
/**
|
||||
* Create Position from a pair of coordinate values
|
||||
*
|
||||
* @param latitude
|
||||
* @param longitude
|
||||
*/
|
||||
public Position(final double latitude, final double longitude) {
|
||||
this.latitude = latitude;
|
||||
|
|
|
@ -21,9 +21,7 @@ import java.io.Serializable;
|
|||
* A list of geographic positions, latitude, longitude decimal degrees WGS84
|
||||
*/
|
||||
public class PositionList implements Cloneable, Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private double[] latitude;
|
||||
private double[] longitude;
|
||||
|
@ -114,9 +112,6 @@ public class PositionList implements Cloneable, Serializable {
|
|||
|
||||
/**
|
||||
* Add a position at the end of the list
|
||||
*
|
||||
* @param latitude
|
||||
* @param longitude
|
||||
*/
|
||||
public void add(final double latitude, final double longitude) {
|
||||
ensureCapacity(size + 1);
|
||||
|
@ -130,8 +125,6 @@ public class PositionList implements Cloneable, Serializable {
|
|||
* "right"
|
||||
*
|
||||
* @param pos position index
|
||||
* @param latitude
|
||||
* @param longitude
|
||||
*/
|
||||
public void insert(final int pos, final double latitude, final double longitude) {
|
||||
ensureCapacity(size + 1);
|
||||
|
@ -146,8 +139,6 @@ public class PositionList implements Cloneable, Serializable {
|
|||
* Replace the position at the index with new values
|
||||
*
|
||||
* @param pos position index
|
||||
* @param latitude
|
||||
* @param longitude
|
||||
*/
|
||||
public void replace(final int pos, final double latitude, final double longitude) {
|
||||
this.longitude[pos] = longitude;
|
||||
|
|
|
@ -23,9 +23,7 @@ import java.net.URL;
|
|||
* iTunes compatible RSS feed.
|
||||
*/
|
||||
public abstract class AbstractITunesObject implements ITunes, java.lang.Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
|
@ -33,7 +31,6 @@ public abstract class AbstractITunesObject implements ITunes, java.lang.Cloneabl
|
|||
* <p>
|
||||
* What is up with using a versioned DTD anyway?
|
||||
* </p>
|
||||
* \
|
||||
*/
|
||||
public static final String URI = "http://www.itunes.com/dtds/podcast-1.0.dtd";
|
||||
|
||||
|
|
|
@ -29,9 +29,7 @@ import java.net.URL;
|
|||
* This class contains information for iTunes podcast feeds that exist at the Item level.
|
||||
*/
|
||||
public class EntryInformationImpl extends AbstractITunesObject implements EntryInformation {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(EntryInformationImpl.class);
|
||||
|
@ -40,9 +38,6 @@ public class EntryInformationImpl extends AbstractITunesObject implements EntryI
|
|||
private boolean closedCaptioned;
|
||||
private Integer order;
|
||||
|
||||
/**
|
||||
* Creates a new instance of EntryInformationImpl
|
||||
*/
|
||||
public EntryInformationImpl() {
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,6 @@ public class FeedInformationImpl extends AbstractITunesObject implements FeedInf
|
|||
private boolean complete;
|
||||
private String newFeedUrl;
|
||||
|
||||
/**
|
||||
* Creates a new instance of FeedInformationImpl
|
||||
*/
|
||||
public FeedInformationImpl() {
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ public class ITunesGenerator implements ModuleGenerator {
|
|||
NAMESPACES.add(NAMESPACE);
|
||||
}
|
||||
|
||||
/** Creates a new instance of ITunesGenerator */
|
||||
public ITunesGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ public class ITunesParser implements ModuleParser {
|
|||
|
||||
Namespace ns = Namespace.getNamespace(AbstractITunesObject.URI);
|
||||
|
||||
/** Creates a new instance of ITunesParser */
|
||||
public ITunesParser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ import org.jdom2.Namespace;
|
|||
public class ITunesParserOldNamespace extends ITunesParser {
|
||||
String URI = "http://www.itunes.com/DTDs/Podcast-1.0.dtd";
|
||||
|
||||
/** Creates a new instance of ITunesParserOldNamespace */
|
||||
public ITunesParserOldNamespace() {
|
||||
super();
|
||||
super.ns = Namespace.getNamespace(URI);
|
||||
|
|
|
@ -23,14 +23,11 @@ import java.io.Serializable;
|
|||
* by Apple. See ITMS for a view.
|
||||
*/
|
||||
public class Category implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String name;
|
||||
private Subcategory subcategory;
|
||||
|
||||
/** Creates a new instance of Category */
|
||||
public Category() {
|
||||
}
|
||||
|
||||
|
|
|
@ -26,9 +26,7 @@ import com.rometools.rome.io.impl.NumberParser;
|
|||
* format, and can parse [H]*H:[M]*M:[S]*S or [M]*M:[S]*S.
|
||||
*/
|
||||
public class Duration implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
static final long SECOND = 1000;
|
||||
static final long MINUTE = SECOND * 60;
|
||||
|
|
|
@ -22,13 +22,10 @@ import java.io.Serializable;
|
|||
* This class represents a Subcategor of a Category.
|
||||
*/
|
||||
public class Subcategory implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String name;
|
||||
|
||||
/** Creates a new instance of SubCategory */
|
||||
public Subcategory() {
|
||||
}
|
||||
|
||||
|
|
|
@ -43,9 +43,6 @@ public class MediaEntryModuleImpl extends MediaModuleImpl implements MediaEntryM
|
|||
private MediaContent[] mediaContents = new MediaContent[0];
|
||||
private MediaGroup[] mediaGroups = new MediaGroup[0];
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public MediaEntryModuleImpl() {
|
||||
super(MediaEntryModule.class, MediaModule.URI);
|
||||
}
|
||||
|
|
|
@ -39,16 +39,12 @@ public class MediaModuleImpl extends ModuleImpl implements MediaModule, Serializ
|
|||
private Metadata metadata;
|
||||
private PlayerReference player;
|
||||
|
||||
/** Creates a new instance of MediaModuleImpl */
|
||||
public MediaModuleImpl() {
|
||||
this(MediaModule.class, MediaModule.URI);
|
||||
}
|
||||
|
||||
/**
|
||||
* constructor that passes values up to ModuleImpl.
|
||||
*
|
||||
* @param clazz
|
||||
* @param uri
|
||||
*/
|
||||
public MediaModuleImpl(final Class<? extends MediaModule> clazz, final String uri) {
|
||||
super(clazz, uri);
|
||||
|
|
|
@ -22,7 +22,6 @@ public class AlternateMediaModuleParser extends MediaModuleParser {
|
|||
|
||||
private static final Namespace NS = Namespace.getNamespace("http://search.yahoo.com/mrss");
|
||||
|
||||
/** Creates a new instance of AlternateMediaModuleParser */
|
||||
public AlternateMediaModuleParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -69,8 +69,6 @@ public class Category implements Serializable {
|
|||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Category
|
||||
*
|
||||
* @param scheme scheme used
|
||||
* @param label label for the category
|
||||
* @param value value of the category item
|
||||
|
@ -82,8 +80,6 @@ public class Category implements Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new Category.
|
||||
*
|
||||
* @param value value of the category.
|
||||
*/
|
||||
public Category(final String value) {
|
||||
|
|
|
@ -95,8 +95,6 @@ public class Credit implements Serializable {
|
|||
private final String scheme;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Credit
|
||||
*
|
||||
* @param scheme schem used
|
||||
* @param role role name
|
||||
* @param name persons name
|
||||
|
|
|
@ -50,8 +50,6 @@ public class Hash extends AbstractSchemeValue implements Serializable {
|
|||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Hash
|
||||
*
|
||||
* @param algorithm algoright used
|
||||
* @param value value of the hash
|
||||
*/
|
||||
|
|
|
@ -164,13 +164,8 @@ public class MediaContent implements Serializable {
|
|||
private String type = null;
|
||||
private boolean defaultContent;
|
||||
|
||||
/*
|
||||
* MediaContent constructor
|
||||
*/
|
||||
|
||||
/**
|
||||
* Creates a new MediaContent
|
||||
*
|
||||
* @param reference UrlReference or Player reference for the item.
|
||||
*/
|
||||
public MediaContent(final Reference reference) {
|
||||
|
|
|
@ -45,8 +45,6 @@ public class MediaGroup implements Cloneable, Serializable {
|
|||
private MediaContent[] contents = new MediaContent[0];
|
||||
|
||||
/**
|
||||
* Creates a new instance of MediaGroup
|
||||
*
|
||||
* @param contents Contents of the group.
|
||||
*/
|
||||
public MediaGroup(final MediaContent[] contents) {
|
||||
|
@ -54,8 +52,6 @@ public class MediaGroup implements Cloneable, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of MediaGroup
|
||||
*
|
||||
* @param contents contents of the group
|
||||
* @param defaultContentIndex index of the default content value.
|
||||
*/
|
||||
|
@ -65,8 +61,6 @@ public class MediaGroup implements Cloneable, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of MediaGroup
|
||||
*
|
||||
* @param contents contents of the group
|
||||
* @param defaultContentIndex index of the default content item.
|
||||
* @param metadata metadata for the group.
|
||||
|
|
|
@ -74,7 +74,6 @@ public class Metadata implements Cloneable, Serializable {
|
|||
private Text[] text = new Text[0];
|
||||
private Thumbnail[] thumbnail = new Thumbnail[0];
|
||||
|
||||
/** Creates a new instance of Metadata */
|
||||
public Metadata() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -61,8 +61,6 @@ public class PlayerReference implements Reference, Serializable {
|
|||
private final URI url;
|
||||
|
||||
/**
|
||||
* Creates a new instance of PlayerReference
|
||||
*
|
||||
* @param url url of the player
|
||||
* @param width width of the player
|
||||
* @param height height of the player
|
||||
|
@ -80,8 +78,6 @@ public class PlayerReference implements Reference, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Constructs a new PlayerReference
|
||||
*
|
||||
* @param url URL of the player
|
||||
*/
|
||||
public PlayerReference(final URI url) {
|
||||
|
|
|
@ -64,8 +64,6 @@ public class Rating extends AbstractSchemeValue {
|
|||
public static final Rating NONADULT = new Rating("urn:simple", "nonadult");
|
||||
|
||||
/**
|
||||
* Constructs a new Rating object.
|
||||
*
|
||||
* @param scheme scheme used for the rating
|
||||
* @param value value of the rating.
|
||||
*/
|
||||
|
@ -73,11 +71,6 @@ public class Rating extends AbstractSchemeValue {
|
|||
super(scheme, value);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param obj
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(final Object obj) {
|
||||
final EqualsBean eBean = new EqualsBean(this.getClass(), this);
|
||||
|
@ -85,10 +78,6 @@ public class Rating extends AbstractSchemeValue {
|
|||
return eBean.beanEquals(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final EqualsBean equals = new EqualsBean(this.getClass(), this);
|
||||
|
@ -96,10 +85,6 @@ public class Rating extends AbstractSchemeValue {
|
|||
return equals.beanHashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
final ToStringBean tsBean = new ToStringBean(this.getClass(), this);
|
||||
|
|
|
@ -85,8 +85,6 @@ public class Restriction implements Serializable {
|
|||
private final Type type;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Restriction
|
||||
*
|
||||
* @param relationship a Restriction.Relationship object
|
||||
* @param type A Restriction.Type object
|
||||
* @param value a value for the restriction.
|
||||
|
|
|
@ -89,8 +89,6 @@ public class Text implements Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Text
|
||||
*
|
||||
* @param type type of text
|
||||
* @param value value of text
|
||||
*/
|
||||
|
|
|
@ -72,8 +72,6 @@ public class Thumbnail implements Cloneable, Serializable {
|
|||
private URI thumbUrl = null;
|
||||
|
||||
/**
|
||||
* Creates a new thumbnail
|
||||
*
|
||||
* @param url URL to thumbnail
|
||||
* @param width width in pixels
|
||||
* @param height height in pixels
|
||||
|
@ -87,8 +85,6 @@ public class Thumbnail implements Cloneable, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new thumbnail
|
||||
*
|
||||
* @param url URL
|
||||
* @param width width
|
||||
* @param height height
|
||||
|
@ -98,8 +94,6 @@ public class Thumbnail implements Cloneable, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new thumbnail
|
||||
*
|
||||
* @param url URL
|
||||
*/
|
||||
public Thumbnail(final URI url) {
|
||||
|
|
|
@ -46,8 +46,6 @@ public class Time implements Serializable {
|
|||
private long milliseconds = 0;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Time
|
||||
*
|
||||
* @param milliseconds milliseconds in length or offset.
|
||||
*/
|
||||
public Time(final long milliseconds) {
|
||||
|
@ -55,8 +53,6 @@ public class Time implements Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Time
|
||||
*
|
||||
* @param value <a href="http://www.ietf.org/rfc/rfc2326.txt">RFC 2326 3.6 Normal Play Time</a>
|
||||
* value
|
||||
*/
|
||||
|
|
|
@ -38,8 +38,6 @@ public class UrlReference implements Reference, Serializable {
|
|||
private final URI url;
|
||||
|
||||
/**
|
||||
* Creates a new UrlReference.
|
||||
*
|
||||
* @param url URL to the media source
|
||||
*/
|
||||
public UrlReference(final URI url) {
|
||||
|
@ -51,8 +49,6 @@ public class UrlReference implements Reference, Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of UrlReference
|
||||
*
|
||||
* @param url String value of a URL
|
||||
* @throws java.net.MalformedURLException thrown on bad URLs
|
||||
*/
|
||||
|
|
|
@ -32,10 +32,6 @@ public class OSQuery implements Cloneable, Serializable {
|
|||
private String title;
|
||||
private String searchTerms;
|
||||
|
||||
/**
|
||||
* Default constructor. All properties are set to <b>null</b>.
|
||||
* <p>
|
||||
*/
|
||||
public OSQuery() {
|
||||
_objBean = new ObjectBean(this.getClass(), this);
|
||||
}
|
||||
|
|
|
@ -25,9 +25,7 @@ import com.rometools.rome.feed.impl.EqualsBean;
|
|||
import com.rometools.rome.feed.impl.ToStringBean;
|
||||
|
||||
public class PhotocastModuleImpl implements PhotocastModule {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Date photoDate;
|
||||
private Date cropDate;
|
||||
|
@ -35,7 +33,6 @@ public class PhotocastModuleImpl implements PhotocastModule {
|
|||
private URL thumbnailUrl;
|
||||
private Metadata metadata;
|
||||
|
||||
/** Creates a new instance of PhotocastModuleImpl */
|
||||
public PhotocastModuleImpl() {
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ public class Generator implements ModuleGenerator {
|
|||
NAMESPACES.add(NS);
|
||||
}
|
||||
|
||||
/** Creates a new instance of Generator */
|
||||
public Generator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ public class Parser implements ModuleParser {
|
|||
// 2006-01-11 16:42:26 -0800
|
||||
static final DateFormat CROP_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z");
|
||||
|
||||
/** Creates a new instance of Parser */
|
||||
public Parser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -26,14 +26,10 @@ import java.util.Date;
|
|||
*/
|
||||
public class PhotoDate extends Date {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long Y2K = 946616400531l;
|
||||
private static final double DAY = 24 * 60 * 60 * 1000;
|
||||
|
||||
/** Creates a new instance of PhotoDate */
|
||||
public PhotoDate() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -33,7 +33,6 @@ public class SlashModuleGenerator implements ModuleGenerator {
|
|||
|
||||
private static final Namespace NAMESPACE = Namespace.getNamespace("slash", Slash.URI);
|
||||
|
||||
/** Creates a new instance of SlashModuleGenerator */
|
||||
public SlashModuleGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ public class SlashModuleParser implements ModuleParser {
|
|||
|
||||
private static final Namespace NS = Namespace.getNamespace(Slash.URI);
|
||||
|
||||
/** Creates a new instance of SlashModuleParser */
|
||||
public SlashModuleParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@ public class SimpleListExtensionImpl extends ModuleImpl implements SimpleListExt
|
|||
private Group[] groupFields;
|
||||
private Sort[] sortFields;
|
||||
|
||||
/** Creates a new instance of SimpleListExtensionImpl */
|
||||
public SimpleListExtensionImpl() {
|
||||
super(SimpleListExtensionImpl.class, SimpleListExtension.URI);
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@ public class SleEntryImpl implements SleEntry {
|
|||
private EntryValue[] groupValues = EMPTY_VALUES;
|
||||
private EntryValue[] sortValues = EMPTY_VALUES;
|
||||
|
||||
/** Creates a new instance of SleEntryImpl */
|
||||
public SleEntryImpl() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ import com.rometools.rome.feed.module.Module;
|
|||
import com.rometools.rome.io.impl.DateParser;
|
||||
|
||||
public class ItemParser implements com.rometools.rome.io.ModuleParser {
|
||||
/** Creates a new instance of ItemParser */
|
||||
|
||||
public ItemParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ public class ModuleGenerator implements com.rometools.rome.io.ModuleGenerator {
|
|||
NAMESPACES.add(ModuleParser.NS);
|
||||
}
|
||||
|
||||
/** Creates a new instance of ModuleGenerator */
|
||||
public ModuleGenerator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ public class ModuleParser implements com.rometools.rome.io.ModuleParser {
|
|||
static final Namespace NS = Namespace.getNamespace("cf", SimpleListExtension.URI);
|
||||
public static final Namespace TEMP = Namespace.getNamespace("rome-sle", "urn:rome:sle");
|
||||
|
||||
/** Creates a new instance of ModuleParser */
|
||||
public ModuleParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -63,8 +63,6 @@ public class Group implements Serializable, Cloneable {
|
|||
private final String label;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Group
|
||||
*
|
||||
* @param namespace Namespace of the element
|
||||
* @param element Name of the element
|
||||
* @param label Label for the grouping.
|
||||
|
|
|
@ -94,8 +94,6 @@ public class Sort implements Serializable, Cloneable {
|
|||
private final boolean defaultOrder;
|
||||
|
||||
/**
|
||||
* Creates a new instance of Sort
|
||||
*
|
||||
* @param namespace Namespace of the element
|
||||
* @param element Name of the element
|
||||
* @param dataType data-type of the element
|
||||
|
|
|
@ -48,7 +48,6 @@ public class SSE091Parser implements DelegatingModuleParser {
|
|||
// root of the sharing element
|
||||
private RSS20Parser rssParser;
|
||||
|
||||
/** Creates a new instance of SSE091Parser */
|
||||
public SSE091Parser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@ public class YWeatherModuleImpl extends ModuleImpl implements YWeatherEntryModul
|
|||
private Wind wind;
|
||||
private Forecast[] forecasts;
|
||||
|
||||
/**
|
||||
*/
|
||||
public YWeatherModuleImpl() {
|
||||
super(YWeatherModuleImpl.class, YWeatherModule.URI);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ public class WeatherModuleGenerator implements ModuleGenerator {
|
|||
private static final SimpleDateFormat LONG_DATE = new SimpleDateFormat("EEE, d MMM yyyy h:mm a zzz", Locale.US);
|
||||
private static final SimpleDateFormat SHORT_DATE = new SimpleDateFormat("d MMM yyyy", Locale.US);
|
||||
|
||||
/** Creates a new instance of SlashModuleGenerator. */
|
||||
public WeatherModuleGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -31,9 +31,7 @@ import com.rometools.rome.feed.impl.ToStringBean;
|
|||
* </ul>
|
||||
*/
|
||||
public class Astronomy implements Serializable, Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final EqualsBean equals = new EqualsBean(Astronomy.class, this);
|
||||
private final ToStringBean toString = new ToStringBean(Astronomy.class, this);
|
||||
|
@ -48,8 +46,6 @@ public class Astronomy implements Serializable, Cloneable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Constructs a new Astronomy object
|
||||
*
|
||||
* @param sunrise time of sunrise (from 0ms)
|
||||
* @param sunset time of sunset (from 0ms)
|
||||
*/
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue