From ac7d9c83b5123096e5d75260f2b1143c2134f9ed Mon Sep 17 00:00:00 2001 From: mishako Date: Sun, 19 Jun 2016 17:01:17 +0200 Subject: [PATCH] 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 --- .../activitystreams/types/ActivityObject.java | 3 - .../activitystreams/types/Article.java | 3 - .../modules/activitystreams/types/Audio.java | 4 +- .../activitystreams/types/Bookmark.java | 3 - .../activitystreams/types/Comment.java | 3 - .../modules/activitystreams/types/Event.java | 3 - .../modules/activitystreams/types/File.java | 3 - .../modules/activitystreams/types/Folder.java | 3 - .../modules/activitystreams/types/List.java | 3 - .../modules/activitystreams/types/Note.java | 3 - .../modules/activitystreams/types/Person.java | 3 - .../modules/activitystreams/types/Photo.java | 3 - .../activitystreams/types/PhotoAlbum.java | 3 - .../modules/activitystreams/types/Place.java | 3 - .../activitystreams/types/Playlist.java | 3 - .../activitystreams/types/Product.java | 3 - .../modules/activitystreams/types/Review.java | 3 - .../activitystreams/types/Service.java | 3 - .../modules/activitystreams/types/Song.java | 4 +- .../modules/activitystreams/types/Status.java | 3 - .../modules/activitystreams/types/Verb.java | 8 --- .../rometools/modules/base/CustomTagImpl.java | 57 ------------------- .../modules/base/GoogleBaseImpl.java | 9 +-- .../modules/base/ValidationException.java | 4 -- .../modules/base/io/CustomTagGenerator.java | 1 - .../modules/base/io/CustomTagParser.java | 1 - .../modules/base/io/GoogleBaseGenerator.java | 1 - .../modules/base/io/GoogleBaseParser.java | 6 -- .../base/types/CurrencyEnumeration.java | 5 -- .../modules/base/types/DateTimeRange.java | 2 - .../modules/base/types/FloatUnit.java | 2 - .../rometools/modules/base/types/IntUnit.java | 1 - .../base/types/PaymentTypeEnumeration.java | 1 - .../base/types/PriceTypeEnumeration.java | 2 - .../modules/base/types/ShippingType.java | 4 -- .../modules/base/types/ShortDate.java | 5 +- .../rometools/modules/base/types/Size.java | 4 -- .../modules/base/types/YearType.java | 2 - .../modules/cc/io/CCModuleGenerator.java | 3 - .../modules/cc/io/ModuleParserRSS1.java | 3 - .../modules/cc/io/ModuleParserRSS2.java | 1 - .../rometools/modules/cc/types/License.java | 3 - .../modules/content/ContentItem.java | 1 - .../content/io/ContentModuleGenerator.java | 1 - .../content/io/ContentModuleParser.java | 1 - .../georss/geometries/AbstractCurve.java | 4 -- .../AbstractGeometricPrimitive.java | 4 -- .../georss/geometries/AbstractGeometry.java | 4 -- .../georss/geometries/AbstractRing.java | 4 -- .../georss/geometries/AbstractSurface.java | 4 -- .../modules/georss/geometries/Envelope.java | 10 +--- .../modules/georss/geometries/LineString.java | 5 +- .../modules/georss/geometries/LinearRing.java | 5 +- .../modules/georss/geometries/Point.java | 5 +- .../modules/georss/geometries/Polygon.java | 5 +- .../modules/georss/geometries/Position.java | 8 +-- .../georss/geometries/PositionList.java | 11 +--- .../modules/itunes/AbstractITunesObject.java | 5 +- .../modules/itunes/EntryInformationImpl.java | 7 +-- .../modules/itunes/FeedInformationImpl.java | 3 - .../modules/itunes/io/ITunesGenerator.java | 1 - .../modules/itunes/io/ITunesParser.java | 1 - .../itunes/io/ITunesParserOldNamespace.java | 1 - .../modules/itunes/types/Category.java | 5 +- .../modules/itunes/types/Duration.java | 4 +- .../modules/itunes/types/Subcategory.java | 5 +- .../mediarss/MediaEntryModuleImpl.java | 3 - .../modules/mediarss/MediaModuleImpl.java | 4 -- .../io/AlternateMediaModuleParser.java | 1 - .../modules/mediarss/types/Category.java | 4 -- .../modules/mediarss/types/Credit.java | 2 - .../modules/mediarss/types/Hash.java | 2 - .../modules/mediarss/types/MediaContent.java | 5 -- .../modules/mediarss/types/MediaGroup.java | 6 -- .../modules/mediarss/types/Metadata.java | 1 - .../mediarss/types/PlayerReference.java | 4 -- .../modules/mediarss/types/Rating.java | 15 ----- .../modules/mediarss/types/Restriction.java | 2 - .../modules/mediarss/types/Text.java | 2 - .../modules/mediarss/types/Thumbnail.java | 6 -- .../modules/mediarss/types/Time.java | 4 -- .../modules/mediarss/types/UrlReference.java | 4 -- .../modules/opensearch/entity/OSQuery.java | 4 -- .../photocast/PhotocastModuleImpl.java | 5 +- .../modules/photocast/io/Generator.java | 1 - .../modules/photocast/io/Parser.java | 1 - .../modules/photocast/types/PhotoDate.java | 4 -- .../slash/io/SlashModuleGenerator.java | 1 - .../modules/slash/io/SlashModuleParser.java | 1 - .../modules/sle/SimpleListExtensionImpl.java | 1 - .../rometools/modules/sle/SleEntryImpl.java | 1 - .../rometools/modules/sle/io/ItemParser.java | 2 +- .../modules/sle/io/ModuleGenerator.java | 1 - .../modules/sle/io/ModuleParser.java | 1 - .../rometools/modules/sle/types/Group.java | 2 - .../com/rometools/modules/sle/types/Sort.java | 2 - .../rometools/modules/sse/SSE091Parser.java | 1 - .../yahooweather/YWeatherModuleImpl.java | 2 - .../io/WeatherModuleGenerator.java | 1 - .../modules/yahooweather/types/Astronomy.java | 6 +- .../yahooweather/types/Atmosphere.java | 10 +--- .../modules/yahooweather/types/Condition.java | 9 +-- .../yahooweather/types/ConditionCode.java | 2 - .../modules/yahooweather/types/Forecast.java | 6 +- .../modules/yahooweather/types/Location.java | 9 +-- .../modules/yahooweather/types/Units.java | 6 +- .../modules/yahooweather/types/Wind.java | 9 +-- .../rometools/modules/AbstractTestCase.java | 3 - .../rometools/opml/feed/opml/Attribute.java | 2 - .../rometools/opml/io/impl/OPML20Parser.java | 2 +- .../com/rometools/opml/TestOpsOPML10.java | 1 - .../rometools/opml/TestOpsOPML10links.java | 1 - .../com/rometools/opml/TestOpsOPML20.java | 1 - .../server/impl/FileBasedAtomService.java | 3 - .../atom/server/impl/FileBasedWorkspace.java | 1 - .../rometools/rome/feed/atom/Category.java | 5 -- .../com/rometools/rome/feed/atom/Content.java | 5 -- .../com/rometools/rome/feed/atom/Entry.java | 5 -- .../rometools/rome/feed/atom/Generator.java | 5 -- .../com/rometools/rome/feed/atom/Link.java | 5 -- .../com/rometools/rome/feed/atom/Person.java | 5 -- .../rometools/rome/feed/impl/ObjectBean.java | 3 - .../rome/feed/module/DCModuleImpl.java | 5 -- .../rome/feed/module/DCSubjectImpl.java | 5 -- .../rome/feed/module/ModuleImpl.java | 3 - .../rome/feed/module/SyModuleImpl.java | 5 -- .../rome/feed/module/impl/ModuleUtils.java | 4 -- .../com/rometools/rome/feed/rss/Category.java | 5 -- .../com/rometools/rome/feed/rss/Cloud.java | 5 -- .../com/rometools/rome/feed/rss/Content.java | 5 -- .../rometools/rome/feed/rss/Description.java | 5 -- .../rometools/rome/feed/rss/Enclosure.java | 5 -- .../com/rometools/rome/feed/rss/Guid.java | 5 -- .../com/rometools/rome/feed/rss/Image.java | 5 -- .../com/rometools/rome/feed/rss/Item.java | 5 -- .../com/rometools/rome/feed/rss/Source.java | 5 -- .../rometools/rome/feed/rss/TextInput.java | 5 -- .../rome/feed/synd/SyndCategoryImpl.java | 5 -- .../rome/feed/synd/SyndContentImpl.java | 5 -- .../rome/feed/synd/SyndEnclosureImpl.java | 5 -- .../rome/feed/synd/SyndEntryImpl.java | 5 -- .../rome/feed/synd/SyndFeedImpl.java | 8 --- .../rome/feed/synd/SyndImageImpl.java | 5 -- .../rome/feed/synd/SyndLinkImpl.java | 5 -- .../com/rometools/rome/io/SAXBuilder.java | 1 - .../rometools/rome/io/impl/NumberParser.java | 1 - 146 files changed, 27 insertions(+), 576 deletions(-) diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/ActivityObject.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/ActivityObject.java index dad03a2..e4f8bc8 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/ActivityObject.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/ActivityObject.java @@ -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(); diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Article.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Article.java index be40a45..5db09d9 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Article.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Article.java @@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types; * */ public class Article extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Audio.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Audio.java index 893674c..80aadd6 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Audio.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Audio.java @@ -42,9 +42,7 @@ package com.rometools.modules.activitystreams.types; * */ public class Audio extends ActivityObject { - /** - * - */ + private static final long serialVersionUID = 1L; private String embedCode; private String streamLink; diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Bookmark.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Bookmark.java index 76856b9..b2774d5 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Bookmark.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Bookmark.java @@ -73,9 +73,6 @@ import com.rometools.rome.feed.atom.Link; */ public class Bookmark extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Comment.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Comment.java index 1b02246..0afaf9d 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Comment.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Comment.java @@ -52,9 +52,6 @@ package com.rometools.modules.activitystreams.types; */ public class Comment extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Event.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Event.java index e80f983..20de159 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Event.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Event.java @@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types; */ public class Event extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/File.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/File.java index b6e65c4..7bc0276 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/File.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/File.java @@ -48,9 +48,6 @@ package com.rometools.modules.activitystreams.types; */ public class File extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Folder.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Folder.java index b9247ec..64d997b 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Folder.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Folder.java @@ -42,9 +42,6 @@ package com.rometools.modules.activitystreams.types; */ public class Folder extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/List.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/List.java index af53739..63c50d1 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/List.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/List.java @@ -30,9 +30,6 @@ package com.rometools.modules.activitystreams.types; */ public class List extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Note.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Note.java index 5b8ce6f..8e636a2 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Note.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Note.java @@ -49,9 +49,6 @@ package com.rometools.modules.activitystreams.types; */ public class Note extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Person.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Person.java index 792bd62..875f429 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Person.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Person.java @@ -47,9 +47,6 @@ import com.rometools.rome.feed.atom.Link; */ public class Person extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Photo.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Photo.java index 1508e05..c6f8b32 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Photo.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Photo.java @@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types; */ public class Photo extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/PhotoAlbum.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/PhotoAlbum.java index 044a10f..60d9239 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/PhotoAlbum.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/PhotoAlbum.java @@ -41,9 +41,6 @@ package com.rometools.modules.activitystreams.types; */ public class PhotoAlbum extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Place.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Place.java index ee80470..a5527a0 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Place.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Place.java @@ -45,9 +45,6 @@ package com.rometools.modules.activitystreams.types; */ public class Place extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Playlist.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Playlist.java index e0a1d01..da01fc2 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Playlist.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Playlist.java @@ -33,9 +33,6 @@ package com.rometools.modules.activitystreams.types; */ public class Playlist extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Product.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Product.java index 3621dbb..89b2af1 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Product.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Product.java @@ -46,9 +46,6 @@ package com.rometools.modules.activitystreams.types; */ public class Product extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Review.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Review.java index 18641a6..9a1d988 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Review.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Review.java @@ -55,9 +55,6 @@ package com.rometools.modules.activitystreams.types; */ public class Review extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Service.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Service.java index 4a9aab9..78c4518 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Service.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Service.java @@ -45,9 +45,6 @@ package com.rometools.modules.activitystreams.types; */ public class Service extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Song.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Song.java index 5c549bf..3bede80 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Song.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Song.java @@ -37,9 +37,7 @@ package com.rometools.modules.activitystreams.types; *

*/ public class Song extends ActivityObject { - /** - * - */ + private static final long serialVersionUID = 1L; private Audio audio; diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Status.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Status.java index 9884418..87cfd13 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Status.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Status.java @@ -41,9 +41,6 @@ package com.rometools.modules.activitystreams.types; */ public class Status extends ActivityObject { - /** - * - */ private static final long serialVersionUID = 1L; @Override diff --git a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Verb.java b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Verb.java index 616ede6..41e58c2 100644 --- a/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Verb.java +++ b/rome-modules/src/main/java/com/rometools/modules/activitystreams/types/Verb.java @@ -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)) { diff --git a/rome-modules/src/main/java/com/rometools/modules/base/CustomTagImpl.java b/rome-modules/src/main/java/com/rometools/modules/base/CustomTagImpl.java index ee5c46b..ab8a5ca 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/CustomTagImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/CustomTagImpl.java @@ -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 x, the expression: - *
- * - *
-     * x.clone() != x
-     * 
- * - *
will be true, and that the expression:
- * - *
-     * x.clone().getClass() == x.getClass()
-     * 
- * - *
will be true, but these are not absolute requirements. While it is - * typically the case that:
- * - *
-     * x.clone().equals(x)
-     * 
- * - *
will be true, this is not an absolute requirement. - *

- * By convention, the returned object should be obtained by calling super.clone. If a - * class and all of its superclasses (except Object) obey this convention, it will be - * the case that x.clone().getClass() == x.getClass(). - *

- * 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 super.clone 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 super.clone need to be modified. - *

- * The method clone for class Object performs a specific cloning operation. - * First, if the class of this object does not implement the interface Cloneable, then - * a CloneNotSupportedException is thrown. Note that all arrays are considered to - * implement the interface Cloneable. 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. - *

- * The class Object does not itself implement the interface Cloneable, so - * calling the clone method on an object whose class is Object 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 - * Cloneable interface. Subclasses that override the - * clone 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, ""); diff --git a/rome-modules/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java b/rome-modules/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java index 03859d3..8a58b63 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/base/ValidationException.java b/rome-modules/src/main/java/com/rometools/modules/base/ValidationException.java index d2d5e88..e7fe682 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/ValidationException.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/ValidationException.java @@ -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); } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java b/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java index 7b4972d..5a98516 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java @@ -43,7 +43,6 @@ public class CustomTagGenerator implements ModuleGenerator { NAMESPACES.add(CustomTagParser.NS); } - /** Creates a new instance of CustomTagGenerator */ public CustomTagGenerator() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagParser.java b/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagParser.java index 784ce06..05fa151 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/io/CustomTagParser.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java b/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java index d576555..1d11fdd 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseParser.java b/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseParser.java index 545fb73..c6cfa63 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/io/GoogleBaseParser.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/CurrencyEnumeration.java b/rome-modules/src/main/java/com/rometools/modules/base/types/CurrencyEnumeration.java index b68ead9..395830e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/CurrencyEnumeration.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/CurrencyEnumeration.java @@ -544,11 +544,6 @@ public class CurrencyEnumeration { // 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); diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/DateTimeRange.java b/rome-modules/src/main/java/com/rometools/modules/base/types/DateTimeRange.java index 86f6ba5..ee61ea3 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/DateTimeRange.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/DateTimeRange.java @@ -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. */ diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/FloatUnit.java b/rome-modules/src/main/java/com/rometools/modules/base/types/FloatUnit.java index dc79fa4..0f1c86a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/FloatUnit.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/FloatUnit.java @@ -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. */ diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/IntUnit.java b/rome-modules/src/main/java/com/rometools/modules/base/types/IntUnit.java index 286c93e..1b1e811 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/IntUnit.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/IntUnit.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/PaymentTypeEnumeration.java b/rome-modules/src/main/java/com/rometools/modules/base/types/PaymentTypeEnumeration.java index b32447b..e8d7cf4 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/PaymentTypeEnumeration.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/PaymentTypeEnumeration.java @@ -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); diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/PriceTypeEnumeration.java b/rome-modules/src/main/java/com/rometools/modules/base/types/PriceTypeEnumeration.java index 413c818..8f40010 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/PriceTypeEnumeration.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/PriceTypeEnumeration.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/ShippingType.java b/rome-modules/src/main/java/com/rometools/modules/base/types/ShippingType.java index 71da428..4c0ebed 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/ShippingType.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/ShippingType.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/ShortDate.java b/rome-modules/src/main/java/com/rometools/modules/base/types/ShortDate.java index 293d335..43e8883 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/ShortDate.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/ShortDate.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/Size.java b/rome-modules/src/main/java/com/rometools/modules/base/types/Size.java index b93a064..68c084d 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/Size.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/Size.java @@ -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. diff --git a/rome-modules/src/main/java/com/rometools/modules/base/types/YearType.java b/rome-modules/src/main/java/com/rometools/modules/base/types/YearType.java index 310da98..c5a1c5a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/base/types/YearType.java +++ b/rome-modules/src/main/java/com/rometools/modules/base/types/YearType.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/cc/io/CCModuleGenerator.java b/rome-modules/src/main/java/com/rometools/modules/cc/io/CCModuleGenerator.java index 3ffa0c1..36e3ee5 100644 --- a/rome-modules/src/main/java/com/rometools/modules/cc/io/CCModuleGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/cc/io/CCModuleGenerator.java @@ -45,9 +45,6 @@ public class CCModuleGenerator implements ModuleGenerator { NAMESPACES.add(RDF); } - /** - * Creates a new instance of CCModuleGenerator - */ public CCModuleGenerator() { super(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS1.java b/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS1.java index 24c43e2..4b8327e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS1.java +++ b/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS1.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS2.java b/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS2.java index 3bef3c8..0061d83 100644 --- a/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS2.java +++ b/rome-modules/src/main/java/com/rometools/modules/cc/io/ModuleParserRSS2.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/cc/types/License.java b/rome-modules/src/main/java/com/rometools/modules/cc/types/License.java index d81deae..f904e5c 100644 --- a/rome-modules/src/main/java/com/rometools/modules/cc/types/License.java +++ b/rome-modules/src/main/java/com/rometools/modules/cc/types/License.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/content/ContentItem.java b/rome-modules/src/main/java/com/rometools/modules/content/ContentItem.java index 65edacb..8ca9600 100644 --- a/rome-modules/src/main/java/com/rometools/modules/content/ContentItem.java +++ b/rome-modules/src/main/java/com/rometools/modules/content/ContentItem.java @@ -37,7 +37,6 @@ public class ContentItem implements Cloneable { private List contentValueNamespace; private String contentResource; - /** Creates a new instance of ContentItem */ public ContentItem() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleGenerator.java b/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleGenerator.java index 412c992..9094385 100644 --- a/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleGenerator.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleParser.java b/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleParser.java index a925dba..f74ed0a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/content/io/ContentModuleParser.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java index a317a32..0cfa046 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java index 43a3b3f..0b3e3f9 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java index 39b0ead..6945d49 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java index 004e319..b117da8 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java index d730c5d..6e32cae 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Envelope.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Envelope.java index c7cf842..d29e0ae 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Envelope.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Envelope.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LineString.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LineString.java index d15b4ff..bb12e58 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LineString.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LineString.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java index 8fcc84a..8d7c8ec 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Point.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Point.java index 4cc9b3a..6fbc6ac 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Point.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Point.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Polygon.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Polygon.java index 2e6be9c..c81455a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Polygon.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Polygon.java @@ -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 interior; - /** Creates a new instance of Polygon */ public Polygon() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Position.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Position.java index 6d9767f..5488224 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Position.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/Position.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/PositionList.java b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/PositionList.java index 2ce7a2c..2934533 100644 --- a/rome-modules/src/main/java/com/rometools/modules/georss/geometries/PositionList.java +++ b/rome-modules/src/main/java/com/rometools/modules/georss/geometries/PositionList.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/AbstractITunesObject.java b/rome-modules/src/main/java/com/rometools/modules/itunes/AbstractITunesObject.java index b00e093..2e5159c 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/AbstractITunesObject.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/AbstractITunesObject.java @@ -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 *

* What is up with using a versioned DTD anyway? *

- * \ */ public static final String URI = "http://www.itunes.com/dtds/podcast-1.0.dtd"; diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/EntryInformationImpl.java b/rome-modules/src/main/java/com/rometools/modules/itunes/EntryInformationImpl.java index 41d3220..62abba1 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/EntryInformationImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/EntryInformationImpl.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/FeedInformationImpl.java b/rome-modules/src/main/java/com/rometools/modules/itunes/FeedInformationImpl.java index cc9c619..851832a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/FeedInformationImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/FeedInformationImpl.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesGenerator.java b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesGenerator.java index a80fc3a..f32042f 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesGenerator.java @@ -39,7 +39,6 @@ public class ITunesGenerator implements ModuleGenerator { NAMESPACES.add(NAMESPACE); } - /** Creates a new instance of ITunesGenerator */ public ITunesGenerator() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParser.java b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParser.java index e52cc83..fb73bdb 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParser.java @@ -44,7 +44,6 @@ public class ITunesParser implements ModuleParser { Namespace ns = Namespace.getNamespace(AbstractITunesObject.URI); - /** Creates a new instance of ITunesParser */ public ITunesParser() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java index 80aa10f..b396132 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java @@ -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); diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Category.java b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Category.java index 0453261..d59e5f8 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Category.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Category.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Duration.java b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Duration.java index ea48a1a..98a83c1 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Duration.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Duration.java @@ -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; diff --git a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Subcategory.java b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Subcategory.java index e04be24..d3b9ec3 100644 --- a/rome-modules/src/main/java/com/rometools/modules/itunes/types/Subcategory.java +++ b/rome-modules/src/main/java/com/rometools/modules/itunes/types/Subcategory.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaEntryModuleImpl.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaEntryModuleImpl.java index 0c1394f..12943a9 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaEntryModuleImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaEntryModuleImpl.java @@ -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); } diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaModuleImpl.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaModuleImpl.java index d3f9963..77ebfee 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaModuleImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/MediaModuleImpl.java @@ -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 clazz, final String uri) { super(clazz, uri); diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java index 66e46f1..c545a77 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Category.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Category.java index b3d4b3c..f32a508 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Category.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Category.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Credit.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Credit.java index c6d82ca..1df95e2 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Credit.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Credit.java @@ -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 diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Hash.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Hash.java index 6d6404b..3e3985d 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Hash.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Hash.java @@ -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 */ diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaContent.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaContent.java index 36bfbe5..6dc244e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaContent.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaContent.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaGroup.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaGroup.java index b246057..18e6654 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaGroup.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/MediaGroup.java @@ -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. diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Metadata.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Metadata.java index b77cac8..abc946b 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Metadata.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Metadata.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/PlayerReference.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/PlayerReference.java index 19b22ce..0eb2f53 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/PlayerReference.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/PlayerReference.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Rating.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Rating.java index 84414f7..a6c8d48 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Rating.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Rating.java @@ -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); diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Restriction.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Restriction.java index 22c3fef..d43d19e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Restriction.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Restriction.java @@ -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. diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Text.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Text.java index 17898fb..c48856a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Text.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Text.java @@ -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 */ diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Thumbnail.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Thumbnail.java index 1aa9e1a..4394b7a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Thumbnail.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Thumbnail.java @@ -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) { diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Time.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Time.java index 7ce79ff..3fb5706 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Time.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/Time.java @@ -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 RFC 2326 3.6 Normal Play Time * value */ diff --git a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/UrlReference.java b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/UrlReference.java index 098164e..daafa5a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/mediarss/types/UrlReference.java +++ b/rome-modules/src/main/java/com/rometools/modules/mediarss/types/UrlReference.java @@ -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 */ diff --git a/rome-modules/src/main/java/com/rometools/modules/opensearch/entity/OSQuery.java b/rome-modules/src/main/java/com/rometools/modules/opensearch/entity/OSQuery.java index 3c571f0..4e11212 100644 --- a/rome-modules/src/main/java/com/rometools/modules/opensearch/entity/OSQuery.java +++ b/rome-modules/src/main/java/com/rometools/modules/opensearch/entity/OSQuery.java @@ -32,10 +32,6 @@ public class OSQuery implements Cloneable, Serializable { private String title; private String searchTerms; - /** - * Default constructor. All properties are set to null. - *

- */ public OSQuery() { _objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome-modules/src/main/java/com/rometools/modules/photocast/PhotocastModuleImpl.java b/rome-modules/src/main/java/com/rometools/modules/photocast/PhotocastModuleImpl.java index 7c85006..22f62a7 100644 --- a/rome-modules/src/main/java/com/rometools/modules/photocast/PhotocastModuleImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/photocast/PhotocastModuleImpl.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/photocast/io/Generator.java b/rome-modules/src/main/java/com/rometools/modules/photocast/io/Generator.java index 1859a11..23b4afb 100644 --- a/rome-modules/src/main/java/com/rometools/modules/photocast/io/Generator.java +++ b/rome-modules/src/main/java/com/rometools/modules/photocast/io/Generator.java @@ -35,7 +35,6 @@ public class Generator implements ModuleGenerator { NAMESPACES.add(NS); } - /** Creates a new instance of Generator */ public Generator() { super(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/photocast/io/Parser.java b/rome-modules/src/main/java/com/rometools/modules/photocast/io/Parser.java index 65f2bb6..bbd6b0e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/photocast/io/Parser.java +++ b/rome-modules/src/main/java/com/rometools/modules/photocast/io/Parser.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/photocast/types/PhotoDate.java b/rome-modules/src/main/java/com/rometools/modules/photocast/types/PhotoDate.java index 420b055..aa15da8 100644 --- a/rome-modules/src/main/java/com/rometools/modules/photocast/types/PhotoDate.java +++ b/rome-modules/src/main/java/com/rometools/modules/photocast/types/PhotoDate.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleGenerator.java b/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleGenerator.java index 11f351e..8f05393 100644 --- a/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleGenerator.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleParser.java b/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleParser.java index baf9ff5..e8f236f 100644 --- a/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/slash/io/SlashModuleParser.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/SimpleListExtensionImpl.java b/rome-modules/src/main/java/com/rometools/modules/sle/SimpleListExtensionImpl.java index 50ebcd9..ae4e651 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/SimpleListExtensionImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/SimpleListExtensionImpl.java @@ -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); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/SleEntryImpl.java b/rome-modules/src/main/java/com/rometools/modules/sle/SleEntryImpl.java index 95fc33c..dc179ec 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/SleEntryImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/SleEntryImpl.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/io/ItemParser.java b/rome-modules/src/main/java/com/rometools/modules/sle/io/ItemParser.java index 0747f10..607c974 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/io/ItemParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/io/ItemParser.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java b/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java index 7f561f6..dec7ee3 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleParser.java b/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleParser.java index 60680a5..1cde3f6 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleParser.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/io/ModuleParser.java @@ -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(); } diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/types/Group.java b/rome-modules/src/main/java/com/rometools/modules/sle/types/Group.java index b89af50..750aad6 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/types/Group.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/types/Group.java @@ -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. diff --git a/rome-modules/src/main/java/com/rometools/modules/sle/types/Sort.java b/rome-modules/src/main/java/com/rometools/modules/sle/types/Sort.java index d2456df..c7cb3b2 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sle/types/Sort.java +++ b/rome-modules/src/main/java/com/rometools/modules/sle/types/Sort.java @@ -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 diff --git a/rome-modules/src/main/java/com/rometools/modules/sse/SSE091Parser.java b/rome-modules/src/main/java/com/rometools/modules/sse/SSE091Parser.java index cce7f76..dbc3a44 100644 --- a/rome-modules/src/main/java/com/rometools/modules/sse/SSE091Parser.java +++ b/rome-modules/src/main/java/com/rometools/modules/sse/SSE091Parser.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/YWeatherModuleImpl.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/YWeatherModuleImpl.java index e7f5bd6..06355a0 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/YWeatherModuleImpl.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/YWeatherModuleImpl.java @@ -39,8 +39,6 @@ public class YWeatherModuleImpl extends ModuleImpl implements YWeatherEntryModul private Wind wind; private Forecast[] forecasts; - /** - */ public YWeatherModuleImpl() { super(YWeatherModuleImpl.class, YWeatherModule.URI); } diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/io/WeatherModuleGenerator.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/io/WeatherModuleGenerator.java index ebf6b34..6d5f70c 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/io/WeatherModuleGenerator.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/io/WeatherModuleGenerator.java @@ -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() { } diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Astronomy.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Astronomy.java index 3098db2..6f79087 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Astronomy.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Astronomy.java @@ -31,9 +31,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * */ 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) */ diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Atmosphere.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Atmosphere.java index 07ef704..1c4221f 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Atmosphere.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Atmosphere.java @@ -35,9 +35,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * */ public class Atmosphere implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private final EqualsBean equals = new EqualsBean(Atmosphere.class, this); private final ToStringBean toString = new ToStringBean(Atmosphere.class, this); @@ -54,8 +52,6 @@ public class Atmosphere implements Serializable, Cloneable { } /** - * Constructs a new Atmosphere object - * * @param humidity humidity, in percent * @param visibility visibility distance (value beyond 1/100ths of a unit will be truncated) * @param pressure barometric pressure @@ -162,9 +158,7 @@ public class Atmosphere implements Serializable, Cloneable { } public static class PressureChange implements Serializable { - /** - * - */ + private static final long serialVersionUID = 1L; public static final PressureChange RISING = new PressureChange(1, "rising"); public static final PressureChange STEADY = new PressureChange(0, "steady"); diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Condition.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Condition.java index 5f63580..bdca470 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Condition.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Condition.java @@ -37,9 +37,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * */ public class Condition implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private final EqualsBean equals = new EqualsBean(Condition.class, this); private final ToStringBean toString = new ToStringBean(Condition.class, this); @@ -48,16 +46,11 @@ public class Condition implements Serializable, Cloneable { private int temperature; private Date date; - /** - * Simple constructor - */ public Condition() { super(); } /** - * Constructs a new Condition. - * * @param text a textual description of conditions, for example, "Partly Cloudy" * @param code the condition code for this forecast. * @param temperature the current temperature diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/ConditionCode.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/ConditionCode.java index 992439d..cd17e40 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/ConditionCode.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/ConditionCode.java @@ -340,8 +340,6 @@ public class ConditionCode implements Serializable { /** * Text description of condition (from the table at top of class) - * - * @return */ public String getDescription() { return description; diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Forecast.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Forecast.java index f742bd0..0deab0f 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Forecast.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Forecast.java @@ -43,9 +43,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * @see ConditionCode */ public class Forecast implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private transient ToStringBean toString = new ToStringBean(Forecast.class, this); private transient EqualsBean equals = new EqualsBean(Forecast.class, this); @@ -64,8 +62,6 @@ public class Forecast implements Serializable, Cloneable { } /** - * Constructs a new Forecast object. - * * @param day day of the week to which this forecast applies. Possible values are Mon Tue Wed * Thu Fri Sat Sun (string) * @param date the date to which this forecast applies diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Location.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Location.java index 9b0471c..b11471e 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Location.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Location.java @@ -29,9 +29,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * */ public class Location implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private transient ToStringBean toString = new ToStringBean(Location.class, this); private transient EqualsBean equals = new EqualsBean(Location.class, this); @@ -39,16 +37,11 @@ public class Location implements Serializable, Cloneable { private String region; private String country; - /** - * Simple constructor - */ public Location() { super(); } /** - * Constructs a new Location object. - * * @param city city name * @param region state, territory, or region, if given * @param country two-character country code. diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Units.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Units.java index 337ac5c..9d5a70a 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Units.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Units.java @@ -36,9 +36,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * (Celsius, kilometers, millibars, kilometers per hour). */ public class Units implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private transient ToStringBean toString = new ToStringBean(Units.class, this); private transient EqualsBean equals = new EqualsBean(Units.class, this); @@ -55,8 +53,6 @@ public class Units implements Serializable, Cloneable { } /** - * Constructs a new Units object - * * @param temperature units of temp ("f" or "c"); * @param distance units of distance ("mi" or "km") * @param pressure units of pressure ("in" or "mb") diff --git a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Wind.java b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Wind.java index d1e4bb4..2bbf952 100644 --- a/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Wind.java +++ b/rome-modules/src/main/java/com/rometools/modules/yahooweather/types/Wind.java @@ -35,9 +35,7 @@ import com.rometools.rome.feed.impl.ToStringBean; * (Celsius, kilometers, millibars, kilometers per hour). */ public class Wind implements Serializable, Cloneable { - /** - * - */ + private static final long serialVersionUID = 1L; private transient ToStringBean toString = new ToStringBean(Wind.class, this); private transient EqualsBean equals = new EqualsBean(Wind.class, this); @@ -45,16 +43,11 @@ public class Wind implements Serializable, Cloneable { private int direction; private int speed; - /** - * Simple Constructor - */ public Wind() { super(); } /** - * Constructs a new Wind object - * * @param chill wind chill adjusted temperature * @param direction direction of wind in degrees * @param speed speed of wind diff --git a/rome-modules/src/test/java/com/rometools/modules/AbstractTestCase.java b/rome-modules/src/test/java/com/rometools/modules/AbstractTestCase.java index a05ef1b..699b5bd 100644 --- a/rome-modules/src/test/java/com/rometools/modules/AbstractTestCase.java +++ b/rome-modules/src/test/java/com/rometools/modules/AbstractTestCase.java @@ -33,9 +33,6 @@ public abstract class AbstractTestCase extends TestCase { */ public String basedir = System.getProperty("basedir") + "/src/test/resources"; - /** - * Constructor. - */ public AbstractTestCase(final String testName) { super(testName); } diff --git a/rome-opml/src/main/java/com/rometools/opml/feed/opml/Attribute.java b/rome-opml/src/main/java/com/rometools/opml/feed/opml/Attribute.java index 635b23d..922b8fb 100644 --- a/rome-opml/src/main/java/com/rometools/opml/feed/opml/Attribute.java +++ b/rome-opml/src/main/java/com/rometools/opml/feed/opml/Attribute.java @@ -33,8 +33,6 @@ public class Attribute implements Cloneable, Serializable { private String value; /** - * Creates a new instance of Attribute. - * * @param name name of the attribute. * @param value value of the attribute. */ diff --git a/rome-opml/src/main/java/com/rometools/opml/io/impl/OPML20Parser.java b/rome-opml/src/main/java/com/rometools/opml/io/impl/OPML20Parser.java index 5d0c353..dbb50c5 100644 --- a/rome-opml/src/main/java/com/rometools/opml/io/impl/OPML20Parser.java +++ b/rome-opml/src/main/java/com/rometools/opml/io/impl/OPML20Parser.java @@ -31,7 +31,7 @@ import com.rometools.rome.io.FeedException; import com.rometools.rome.io.impl.DateParser; public class OPML20Parser extends OPML10Parser { - /** Creates a new instance of Opml20Parser */ + public OPML20Parser() { super("opml_2.0"); } diff --git a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10.java b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10.java index d647787..bf834e8 100644 --- a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10.java +++ b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10.java @@ -30,7 +30,6 @@ import com.rometools.rome.feed.synd.SyndFeedImpl; public class TestOpsOPML10 extends FeedOpsTest { - /** Creates a new instance of TestOpsOPML10 */ public TestOpsOPML10() { super("opml_1.0"); } diff --git a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10links.java b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10links.java index edf935b..637a97d 100644 --- a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10links.java +++ b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML10links.java @@ -34,7 +34,6 @@ import com.rometools.rome.io.WireFeedOutput; public class TestOpsOPML10links extends FeedOpsTest { - /** Creates a new instance of TestOpsOPML10 */ public TestOpsOPML10links() { super("opml_1.0_links"); } diff --git a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML20.java b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML20.java index 1f11b41..45444e8 100644 --- a/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML20.java +++ b/rome-opml/src/test/java/com/rometools/opml/TestOpsOPML20.java @@ -30,7 +30,6 @@ import com.rometools.rome.feed.synd.SyndFeedImpl; public class TestOpsOPML20 extends FeedOpsTest { - /** Creates a new instance of TestOpsOPML20 */ public TestOpsOPML20() { super("opml_2.0"); } diff --git a/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java b/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java index 3df365c..33456f6 100644 --- a/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java +++ b/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java @@ -101,9 +101,6 @@ public class FileBasedAtomService extends AtomService { private static Properties cacheProps = new Properties(); private boolean firstTime = true; - /** - * Creates a new instance of FileBasedAtomService. - */ public FileBasedAtomService(final String userName, final String baseDir, final String contextURI, final String contextPath, final String servletPath) throws Exception { final String workspaceHandle = userName; diff --git a/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java b/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java index 163c6cc..aaeec16 100644 --- a/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java +++ b/rome-propono/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java @@ -22,7 +22,6 @@ import com.rometools.propono.atom.common.Workspace; */ public class FileBasedWorkspace extends Workspace { - /** Creates a new instance of FileBasedWorkspace */ public FileBasedWorkspace(final String handle, final String baseDir) { super(handle, "text"); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Category.java b/rome/src/main/java/com/rometools/rome/feed/atom/Category.java index 85fac0b..114d6a5 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Category.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Category.java @@ -35,11 +35,6 @@ public class Category implements Cloneable, Serializable { private String schemeResolved; private String label; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Category() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Content.java b/rome/src/main/java/com/rometools/rome/feed/atom/Content.java index bfceffc..65494b9 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Content.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Content.java @@ -62,11 +62,6 @@ public class Content implements Cloneable, Serializable { MODES.add(ESCAPED); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public Content() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Entry.java b/rome/src/main/java/com/rometools/rome/feed/atom/Entry.java index ddeb1ec..dcc5552 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Entry.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Entry.java @@ -56,11 +56,6 @@ public class Entry implements Cloneable, Serializable, Extendable { private String rights; private String xmlBase; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Entry() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Generator.java b/rome/src/main/java/com/rometools/rome/feed/atom/Generator.java index e571591..17cfa58 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Generator.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Generator.java @@ -32,11 +32,6 @@ public class Generator implements Cloneable, Serializable { private String version; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Generator() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Link.java b/rome/src/main/java/com/rometools/rome/feed/atom/Link.java index 08eb73b..8aa7a20 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Link.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Link.java @@ -38,11 +38,6 @@ public class Link implements Cloneable, Serializable { private String title; private long length; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Link() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/atom/Person.java b/rome/src/main/java/com/rometools/rome/feed/atom/Person.java index 6c226b6..b23900c 100644 --- a/rome/src/main/java/com/rometools/rome/feed/atom/Person.java +++ b/rome/src/main/java/com/rometools/rome/feed/atom/Person.java @@ -42,11 +42,6 @@ public class Person implements SyndPerson, Cloneable, Serializable, Extendable { private String email; private List modules; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Person() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/impl/ObjectBean.java b/rome/src/main/java/com/rometools/rome/feed/impl/ObjectBean.java index 1e4bde0..5214544 100644 --- a/rome/src/main/java/com/rometools/rome/feed/impl/ObjectBean.java +++ b/rome/src/main/java/com/rometools/rome/feed/impl/ObjectBean.java @@ -45,9 +45,6 @@ public class ObjectBean implements Serializable, Cloneable { private final CloneableBean cloneableBean; /** - * Constructor. - *

- * * @param beanClass the class/interface to be used for property scanning. * */ diff --git a/rome/src/main/java/com/rometools/rome/feed/module/DCModuleImpl.java b/rome/src/main/java/com/rometools/rome/feed/module/DCModuleImpl.java index bd78fdb..24a71c2 100644 --- a/rome/src/main/java/com/rometools/rome/feed/module/DCModuleImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/module/DCModuleImpl.java @@ -87,11 +87,6 @@ public class DCModuleImpl extends ModuleImpl implements DCModule { IGNORE_PROPERTIES.add("rights"); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public DCModuleImpl() { super(DCModule.class, URI); objBean = new ObjectBean(DCModule.class, this, CONVENIENCE_PROPERTIES); diff --git a/rome/src/main/java/com/rometools/rome/feed/module/DCSubjectImpl.java b/rome/src/main/java/com/rometools/rome/feed/module/DCSubjectImpl.java index cf49ab2..b37b341 100644 --- a/rome/src/main/java/com/rometools/rome/feed/module/DCSubjectImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/module/DCSubjectImpl.java @@ -50,11 +50,6 @@ public class DCSubjectImpl implements Cloneable, Serializable, DCSubject { COPY_FROM_HELPER = new CopyFromHelper(DCSubject.class, basePropInterfaceMap, basePropClassImplMap); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public DCSubjectImpl() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/module/ModuleImpl.java b/rome/src/main/java/com/rometools/rome/feed/module/ModuleImpl.java index 18a14af..6398f7c 100644 --- a/rome/src/main/java/com/rometools/rome/feed/module/ModuleImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/module/ModuleImpl.java @@ -30,9 +30,6 @@ public abstract class ModuleImpl implements Cloneable, Serializable, Module { private final String uri; /** - * Constructor. - *

- * * @param uri URI of the module. * */ diff --git a/rome/src/main/java/com/rometools/rome/feed/module/SyModuleImpl.java b/rome/src/main/java/com/rometools/rome/feed/module/SyModuleImpl.java index 2e9ecb5..f72079e 100644 --- a/rome/src/main/java/com/rometools/rome/feed/module/SyModuleImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/module/SyModuleImpl.java @@ -61,11 +61,6 @@ public class SyModuleImpl extends ModuleImpl implements SyModule { } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyModuleImpl() { super(SyModule.class, URI); } diff --git a/rome/src/main/java/com/rometools/rome/feed/module/impl/ModuleUtils.java b/rome/src/main/java/com/rometools/rome/feed/module/impl/ModuleUtils.java index 1a29240..4d23440 100644 --- a/rome/src/main/java/com/rometools/rome/feed/module/impl/ModuleUtils.java +++ b/rome/src/main/java/com/rometools/rome/feed/module/impl/ModuleUtils.java @@ -53,10 +53,6 @@ public class ModuleUtils { * * * @since 1.5 Changed to return the first, not the last. - * - * @param modules - * @param uri - * @return */ public static Module getModule(final List modules, final String uri) { Module searchedModule = null; diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Category.java b/rome/src/main/java/com/rometools/rome/feed/rss/Category.java index 1400606..a7e6034 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Category.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Category.java @@ -30,11 +30,6 @@ public class Category implements Cloneable, Serializable { private String domain; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Category() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Cloud.java b/rome/src/main/java/com/rometools/rome/feed/rss/Cloud.java index fda77f1..0b0e72d 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Cloud.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Cloud.java @@ -33,11 +33,6 @@ public class Cloud implements Cloneable, Serializable { private String registerProcedure; private String protocol; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Cloud() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Content.java b/rome/src/main/java/com/rometools/rome/feed/rss/Content.java index addf84f..796a88b 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Content.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Content.java @@ -32,11 +32,6 @@ public class Content implements Cloneable, Serializable { private String type; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Content() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Description.java b/rome/src/main/java/com/rometools/rome/feed/rss/Description.java index 90a531b..baea4c6 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Description.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Description.java @@ -30,11 +30,6 @@ public class Description implements Cloneable, Serializable { private String type; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Description() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Enclosure.java b/rome/src/main/java/com/rometools/rome/feed/rss/Enclosure.java index 40b5c98..f573243 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Enclosure.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Enclosure.java @@ -31,11 +31,6 @@ public class Enclosure implements Cloneable, Serializable { private long length; private String type; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Enclosure() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Guid.java b/rome/src/main/java/com/rometools/rome/feed/rss/Guid.java index 748e843..3f35c8a 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Guid.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Guid.java @@ -30,11 +30,6 @@ public class Guid implements Cloneable, Serializable { private boolean permaLink; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Guid() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Image.java b/rome/src/main/java/com/rometools/rome/feed/rss/Image.java index 33f2834..9ebbd81 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Image.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Image.java @@ -33,11 +33,6 @@ public class Image implements Cloneable, Serializable { private Integer height = -1; private String description; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Image() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Item.java b/rome/src/main/java/com/rometools/rome/feed/rss/Item.java index 9aad8ba..0e2aa26 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Item.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Item.java @@ -60,11 +60,6 @@ public class Item implements Cloneable, Serializable, Extendable { private List modules; private List foreignMarkup; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Item() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/Source.java b/rome/src/main/java/com/rometools/rome/feed/rss/Source.java index 0a2587d..91ec0ea 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/Source.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/Source.java @@ -30,11 +30,6 @@ public class Source implements Cloneable, Serializable { private String url; private String value; - /** - * Default constructor. All properties are set to null. - *

- * - */ public Source() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/rss/TextInput.java b/rome/src/main/java/com/rometools/rome/feed/rss/TextInput.java index fa4beda..c3edc2f 100644 --- a/rome/src/main/java/com/rometools/rome/feed/rss/TextInput.java +++ b/rome/src/main/java/com/rometools/rome/feed/rss/TextInput.java @@ -32,11 +32,6 @@ public class TextInput implements Cloneable, Serializable { private String name; private String link; - /** - * Default constructor. All properties are set to null. - *

- * - */ public TextInput() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndCategoryImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndCategoryImpl.java index c1519ed..b0c6891 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndCategoryImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndCategoryImpl.java @@ -127,11 +127,6 @@ public class SyndCategoryImpl implements Serializable, SyndCategory { return subject; } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndCategoryImpl() { this(new DCSubjectImpl()); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndContentImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndContentImpl.java index 25e7f36..1d060fe 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndContentImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndContentImpl.java @@ -50,11 +50,6 @@ public class SyndContentImpl implements Serializable, SyndContent { COPY_FROM_HELPER = new CopyFromHelper(SyndContent.class, basePropInterfaceMap, basePropClassImplMap); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndContentImpl() { objBean = new ObjectBean(SyndContent.class, this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndEnclosureImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndEnclosureImpl.java index 75dfd5e..5f8b338 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndEnclosureImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndEnclosureImpl.java @@ -47,11 +47,6 @@ public class SyndEnclosureImpl implements Serializable, SyndEnclosure { COPY_FROM_HELPER = new CopyFromHelper(SyndEnclosure.class, basePropInterfaceMap, basePropClassImplMap); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndEnclosureImpl() { objBean = new ObjectBean(SyndEnclosure.class, this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndEntryImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndEntryImpl.java index 787efbf..56417ba 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndEntryImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndEntryImpl.java @@ -125,11 +125,6 @@ public class SyndEntryImpl implements Serializable, SyndEntry { objBean = new ObjectBean(beanClass, this, convenienceProperties); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndEntryImpl() { this(SyndEntry.class, IGNORE_PROPERTIES); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndFeedImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndFeedImpl.java index 942f3ae..bb8e603 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndFeedImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndFeedImpl.java @@ -146,11 +146,6 @@ public class SyndFeedImpl implements Serializable, SyndFeed { objBean = new ObjectBean(beanClass, this, convenienceProperties); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndFeedImpl() { this(null); } @@ -171,9 +166,6 @@ public class SyndFeedImpl implements Serializable, SyndFeed { * Creates a SyndFeedImpl and populates all its properties out of the given RSS Channel or Atom * Feed properties, while optionally preserving the WireFeed for access via the * orignalWireFeed() method. - * - * @param feed - * @param preserveWireFeed */ public SyndFeedImpl(final WireFeed feed, final boolean preserveWireFeed) { this(SyndFeed.class, IGNORE_PROPERTIES); diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndImageImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndImageImpl.java index c04d32b..863add3 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndImageImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndImageImpl.java @@ -57,11 +57,6 @@ public class SyndImageImpl implements Serializable, SyndImage { COPY_FROM_HELPER = new CopyFromHelper(SyndImage.class, basePropInterfaceMap, basePropClassImplMap); } - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndImageImpl() { objBean = new ObjectBean(SyndImage.class, this); } diff --git a/rome/src/main/java/com/rometools/rome/feed/synd/SyndLinkImpl.java b/rome/src/main/java/com/rometools/rome/feed/synd/SyndLinkImpl.java index d7eb78d..d256882 100644 --- a/rome/src/main/java/com/rometools/rome/feed/synd/SyndLinkImpl.java +++ b/rome/src/main/java/com/rometools/rome/feed/synd/SyndLinkImpl.java @@ -36,11 +36,6 @@ public class SyndLinkImpl implements Cloneable, Serializable, SyndLink { private String title; private long length; - /** - * Default constructor. All properties are set to null. - *

- * - */ public SyndLinkImpl() { objBean = new ObjectBean(this.getClass(), this); } diff --git a/rome/src/main/java/com/rometools/rome/io/SAXBuilder.java b/rome/src/main/java/com/rometools/rome/io/SAXBuilder.java index eed9874..5b93030 100644 --- a/rome/src/main/java/com/rometools/rome/io/SAXBuilder.java +++ b/rome/src/main/java/com/rometools/rome/io/SAXBuilder.java @@ -41,7 +41,6 @@ public class SAXBuilder extends org.jdom2.input.SAXBuilder { * * @deprecated use SAXBuilder(XMLReaderJDOMFactory) with either XMLReaders.DTDVALIDATING or * XMLReaders.NONVALIDATING - * @param validate */ @Deprecated public SAXBuilder(final boolean validate) { diff --git a/rome/src/main/java/com/rometools/rome/io/impl/NumberParser.java b/rome/src/main/java/com/rometools/rome/io/impl/NumberParser.java index b7bdf29..10bf3a2 100644 --- a/rome/src/main/java/com/rometools/rome/io/impl/NumberParser.java +++ b/rome/src/main/java/com/rometools/rome/io/impl/NumberParser.java @@ -91,7 +91,6 @@ public final class NumberParser { * * @param str * @param def the value to return if the String cannot be parsed - * @return */ public static float parseFloat(final String str, final float def) { final Float result = parseFloat(str);