diff --git a/src/main/java/com/sun/syndication/feed/opml/Attribute.java b/src/main/java/com/sun/syndication/feed/opml/Attribute.java index 133a254..803ede7 100644 --- a/src/main/java/com/sun/syndication/feed/opml/Attribute.java +++ b/src/main/java/com/sun/syndication/feed/opml/Attribute.java @@ -29,8 +29,8 @@ import com.sun.syndication.feed.impl.ToStringBean; */ public class Attribute implements Cloneable, Serializable { - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 1L; + private String _name; private String _value; diff --git a/src/main/java/com/sun/syndication/feed/opml/Opml.java b/src/main/java/com/sun/syndication/feed/opml/Opml.java index e574d5c..61aead0 100644 --- a/src/main/java/com/sun/syndication/feed/opml/Opml.java +++ b/src/main/java/com/sun/syndication/feed/opml/Opml.java @@ -24,7 +24,8 @@ import java.util.List; import com.sun.syndication.feed.WireFeed; /** - * This class represents the root of an OPML 1/2 feed and contains the elements that may appear in the <head> tag of the feed. + * This class represents the root of an OPML 1/2 feed and contains the elements that may appear in + * the <head> tag of the feed. * * @author Robert "kebernet" Cooper */ @@ -71,8 +72,9 @@ public class Opml extends WireFeed { } /** - * (OPML 2) <docs> is the http address of documentation for the format used in the OPML file. It's probably a pointer to this page for people who might stumble across the file on a web server 25 years from now and wonder what it is. + * (OPML 2) <docs> is the http address of documentation for the format used in the OPML + * file. It's probably a pointer to this page for people + * who might stumble across the file on a web server 25 years from now and wonder what it is. * * @param docs http address of documentation for the format used */ @@ -81,8 +83,9 @@ public class Opml extends WireFeed { } /** - * (OPML 2) <docs> is the http address of documentation for the format used in the OPML file. It's probably a pointer to this page for people who might stumble across the file on a web server 25 years from now and wonder what it is. + * (OPML 2) <docs> is the http address of documentation for the format used in the OPML + * file. It's probably a pointer to this page for people + * who might stumble across the file on a web server 25 years from now and wonder what it is. * * @return http address of documentation for the format used */ @@ -91,9 +94,10 @@ public class Opml extends WireFeed { } /** - * <expansionState>is a comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The - * order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the - * list. + * <expansionState>is a comma-separated list of line numbers that are expanded. The line + * numbers in the list tell you which headlines to expand. The order is important. For each + * element in the list, X, starting at the first summit, navigate flatdown X times and expand. + * Repeat for each element in the list. * * @param expansionState int array containing expanded elements. */ @@ -102,9 +106,10 @@ public class Opml extends WireFeed { } /** - * <expansionState> is a comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The - * order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the - * list. + * <expansionState> is a comma-separated list of line numbers that are expanded. The line + * numbers in the list tell you which headlines to expand. The order is important. For each + * element in the list, X, starting at the first summit, navigate flatdown X times and expand. + * Repeat for each element in the list. * * @return int array containing expanded elements. */ @@ -171,22 +176,26 @@ public class Opml extends WireFeed { } /** - * (OPML 2) <ownerId> is the http address of a web page that contains an HTML a form that allows a human reader to communicate with - * the author of the document via email or other means. + * (OPML 2) <ownerId> is the http address of a web page that contains an + * HTML a form that allows a human reader to communicate with the author of the + * document via email or other means. * - * @param ownerId http address of a web page that contains an HTML a form that allows a human reader to communicate with the author of the - * document via email or other means. + * @param ownerId http address of a web page that contains an HTML a form that + * allows a human reader to communicate with the author of the document via email or + * other means. */ public void setOwnerId(final String ownerId) { _ownerId = ownerId; } /** - * (OPML 2) <ownerId> is the http address of a web page that contains an HTML a form that allows a human reader to communicate with - * the author of the document via email or other means. + * (OPML 2) <ownerId> is the http address of a web page that contains an + * HTML a form that allows a human reader to communicate with the author of the + * document via email or other means. * - * @return http address of a web page that contains an HTML a form that allows a human reader to communicate with the author of the - * document via email or other means. + * @return http address of a web page that contains an HTML a form that allows + * a human reader to communicate with the author of the document via email or other + * means. */ public String getOwnerId() { return _ownerId; @@ -229,20 +238,22 @@ public class Opml extends WireFeed { } /** - * <vertScrollState> is a number, saying which line of the outline is displayed on the top line of the window. This number is calculated with the - * expansion state already applied. + * <vertScrollState> is a number, saying which line of the outline is displayed on the top + * line of the window. This number is calculated with the expansion state already applied. * - * @param verticalScrollState which line of the outline is displayed on the top line of the window. + * @param verticalScrollState which line of the outline is displayed on the top line of the + * window. */ public void setVerticalScrollState(final Integer verticalScrollState) { _verticalScrollState = verticalScrollState; } /** - * <vertScrollState> is a number, saying which line of the outline is displayed on the top line of the window. This number is calculated with the - * expansion state already applied. + * <vertScrollState> is a number, saying which line of the outline is displayed on the top + * line of the window. This number is calculated with the expansion state already applied. * - * @return which line of the outline is displayed on the top line of the window. This number is calculated with the expansion state already applied. + * @return which line of the outline is displayed on the top line of the window. This number is + * calculated with the expansion state already applied. */ public Integer getVerticalScrollState() { return _verticalScrollState; diff --git a/src/main/java/com/sun/syndication/feed/opml/Outline.java b/src/main/java/com/sun/syndication/feed/opml/Outline.java index 6d0f009..4985973 100644 --- a/src/main/java/com/sun/syndication/feed/opml/Outline.java +++ b/src/main/java/com/sun/syndication/feed/opml/Outline.java @@ -66,7 +66,8 @@ public class Outline implements Cloneable, Serializable { } /** - * Creates an outline with the given title, xmlUrl and htmlUrl. This is traditionally used for aggregator feed lists and will get a type of "rss". + * Creates an outline with the given title, xmlUrl and htmlUrl. This is traditionally used for + * aggregator feed lists and will get a type of "rss". * * @param title Title of the entry. * @param xmlUrl link to XML file. @@ -110,8 +111,9 @@ public class Outline implements Cloneable, Serializable { } /** - * isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. This attribute is mainly necessary for - * outlines used to edit scripts. If it's not present, the value is false. + * isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on + * this outline. This attribute is mainly necessary for outlines used to edit scripts. If it's + * not present, the value is false. * * @param breakpoint whether a breakpoint is set on this outline. */ @@ -120,8 +122,9 @@ public class Outline implements Cloneable, Serializable { } /** - * isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. This attribute is mainly necessary for - * outlines used to edit scripts. If it's not present, the value is false. + * isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on + * this outline. This attribute is mainly necessary for outlines used to edit scripts. If it's + * not present, the value is false. * * @return whether a breakpoint is set on this outline */ @@ -174,8 +177,9 @@ public class Outline implements Cloneable, Serializable { } /** - * isComment is a string, either "true" or "false", indicating whether the outline is commented or not. By convention if an outline is commented, all - * subordinate outlines are considered to also be commented. If it's not present, the value is false. + * isComment is a string, either "true" or "false", indicating whether the outline is commented + * or not. By convention if an outline is commented, all subordinate outlines are considered to + * also be commented. If it's not present, the value is false. * * @param comment whether the outline is commented */ @@ -184,8 +188,9 @@ public class Outline implements Cloneable, Serializable { } /** - * isComment is a string, either "true" or "false", indicating whether the outline is commented or not. By convention if an outline is commented, all - * subordinate outlines are considered to also be commented. If it's not present, the value is false. + * isComment is a string, either "true" or "false", indicating whether the outline is commented + * or not. By convention if an outline is commented, all subordinate outlines are considered to + * also be commented. If it's not present, the value is false. * * @return whether the outline is commented */ diff --git a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java index 073bbcf..8e0c53c 100644 --- a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java +++ b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java @@ -205,12 +205,12 @@ public class ConverterForOPML10 implements Converter { final List entries = Collections.synchronizedList(syndFeed.getEntries()); final HashMap entriesByNode = new HashMap(); - + // this will hold entries that we can't parent the first time. - final ArrayList doAfterPass = new ArrayList(); + final ArrayList doAfterPass = new ArrayList(); // this holds root level outlines; - final ArrayList root = new ArrayList(); + final ArrayList root = new ArrayList(); for (int i = 0; i < entries.size(); i++) { final SyndEntry entry = entries.get(i); diff --git a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML20.java b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML20.java index 414c87a..85ea090 100644 --- a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML20.java +++ b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML20.java @@ -12,7 +12,7 @@ import com.sun.syndication.feed.WireFeed; import com.sun.syndication.feed.synd.SyndFeed; /** - * + * * @author cooper */ public class ConverterForOPML20 extends ConverterForOPML10 { @@ -24,7 +24,7 @@ public class ConverterForOPML20 extends ConverterForOPML10 { /** * Returns the type (version) of the real feed this converter handles. *

- * + * * @return the real feed type. * @see WireFeed for details on the format of this string. *

@@ -39,9 +39,10 @@ public class ConverterForOPML20 extends ConverterForOPML10 { *

* It assumes the given SyndFeedImpl has no properties set. *

- * + * * @param feed real feed to copy/convert. - * @param syndFeed the SyndFeedImpl that will contain the copied/converted values of the real feed. + * @param syndFeed the SyndFeedImpl that will contain the copied/converted values of the real + * feed. */ @Override public void copyInto(final WireFeed feed, final SyndFeed syndFeed) { @@ -51,7 +52,7 @@ public class ConverterForOPML20 extends ConverterForOPML10 { /** * Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. *

- * + * * @param syndFeed SyndFeedImpl to copy/convert value from. * @return a real feed with copied/converted values of the SyndFeedImpl. */ diff --git a/src/main/java/com/sun/syndication/io/impl/OPML10Generator.java b/src/main/java/com/sun/syndication/io/impl/OPML10Generator.java index 4ed5b07..d4f7f73 100644 --- a/src/main/java/com/sun/syndication/io/impl/OPML10Generator.java +++ b/src/main/java/com/sun/syndication/io/impl/OPML10Generator.java @@ -52,7 +52,8 @@ public class OPML10Generator extends BaseWireFeedGenerator implements WireFeedGe * * @param feed the feed bean to generate the XML document from. * @return the generated XML document (JDOM). - * @throws IllegalArgumentException thrown if the type of the given feed bean does not match with the type of the WireFeedGenerator. + * @throws IllegalArgumentException thrown if the type of the given feed bean does not match + * with the type of the WireFeedGenerator. * @throws FeedException thrown if the XML Document could not be created. */ @Override diff --git a/src/main/java/com/sun/syndication/io/impl/OPML20Generator.java b/src/main/java/com/sun/syndication/io/impl/OPML20Generator.java index c88826e..b75eac9 100644 --- a/src/main/java/com/sun/syndication/io/impl/OPML20Generator.java +++ b/src/main/java/com/sun/syndication/io/impl/OPML20Generator.java @@ -19,7 +19,7 @@ import com.sun.syndication.feed.opml.Outline; import com.sun.syndication.io.FeedException; /** - * + * * @author cooper */ public class OPML20Generator extends OPML10Generator { @@ -30,7 +30,7 @@ public class OPML20Generator extends OPML10Generator { /** * Returns the type of feed the generator creates. *

- * + * * @return the type of feed the generator creates. * @see WireFeed for details on the format of this string. *

@@ -43,10 +43,11 @@ public class OPML20Generator extends OPML10Generator { /** * Creates an XML document (JDOM) for the given feed bean. *

- * + * * @param feed the feed bean to generate the XML document from. * @return the generated XML document (JDOM). - * @throws IllegalArgumentException thrown if the type of the given feed bean does not match with the type of the WireFeedGenerator. + * @throws IllegalArgumentException thrown if the type of the given feed bean does not match + * with the type of the WireFeedGenerator. * @throws FeedException thrown if the XML Document could not be created. */ @Override diff --git a/src/main/java/com/sun/syndication/io/impl/OPML20Parser.java b/src/main/java/com/sun/syndication/io/impl/OPML20Parser.java index 089f686..7de2bc5 100644 --- a/src/main/java/com/sun/syndication/io/impl/OPML20Parser.java +++ b/src/main/java/com/sun/syndication/io/impl/OPML20Parser.java @@ -54,7 +54,7 @@ public class OPML20Parser extends OPML10Parser { if (e.getName().equals("opml") && (e.getChild("head") != null && e.getChild("head").getChild("docs") != null || e.getAttributeValue("version") != null - && e.getAttributeValue("version").equals("2.0") || e.getChild("head") != null && e.getChild("head").getChild("ownerId") != null)) { + && e.getAttributeValue("version").equals("2.0") || e.getChild("head") != null && e.getChild("head").getChild("ownerId") != null)) { return true; } diff --git a/src/test/java/com/sun/syndication/FeedOpsTest.java b/src/test/java/com/sun/syndication/FeedOpsTest.java index 2e1ddb0..65cb058 100644 --- a/src/test/java/com/sun/syndication/FeedOpsTest.java +++ b/src/test/java/com/sun/syndication/FeedOpsTest.java @@ -11,11 +11,11 @@ import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeedImpl; /** - * + * *

- * + * * @author Alejandro Abdelnur - * + * */ public abstract class FeedOpsTest extends FeedTest { diff --git a/src/test/java/com/sun/syndication/SyndFeedTest.java b/src/test/java/com/sun/syndication/SyndFeedTest.java index 6020a8e..19341f2 100644 --- a/src/test/java/com/sun/syndication/SyndFeedTest.java +++ b/src/test/java/com/sun/syndication/SyndFeedTest.java @@ -2,7 +2,7 @@ package com.sun.syndication; /** * @author pat - * + * */ public abstract class SyndFeedTest extends FeedTest { private String _prefix = null; @@ -29,100 +29,100 @@ public abstract class SyndFeedTest extends FeedTest { } /* - * public void testType() throws Exception { assertEquals(getPrefix(), getCachedSyndFeed().getFeedType()); } - * - * public void testTitle() throws Exception { assertEqualsStr("channel.title", getCachedSyndFeed().getTitle()); } - * - * public void testLink() throws Exception { assertEqualsStr("channel.link", getCachedSyndFeed().getLink()); } - * - * public void testDescription() throws Exception { assertEqualsStr("channel.description", getCachedSyndFeed().getDescription()); } - * - * public void testLanguage() throws Exception { assertEqualsStr("channel.language", getCachedSyndFeed().getLanguage()); } - * - * public void testCategories() throws Exception { List catlist = getCachedSyndFeed().getCategories(); //don't understand why this one fails assertEquals(2, - * catlist.size()); SyndCategory cat = (SyndCategory)catlist.get(0); assertEqualsStr("channel.category[0]", cat.getName()); - * assertEqualsStr("channel.category[0]^domain", cat.getTaxonomyUri()); cat = (SyndCategory)catlist.get(1); assertEqualsStr("channel.category[1]", - * cat.getName()); assertEqualsStr("channel.category[1]^domain", cat.getTaxonomyUri()); } - * - * public void testPublishedDate() throws Exception { assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), - * getCachedSyndFeed().getPublishedDate()); } - * - * //how do i get height and width? public void testImage() throws Exception { SyndImage img = getCachedSyndFeed().getImage(); - * assertEqualsStr("channel.image.description", img.getDescription()); assertEqualsStr("channel.image.link", img.getLink()); - * assertEqualsStr("channel.image.title", img.getTitle()); assertEqualsStr("channel.image.url", img.getUrl()); } - * - * public void testEntries() throws Exception { List entrylist = getCachedSyndFeed().getEntries(); assertEquals(2, entrylist.size()); } - * - * public void testEntryTitle() throws Exception { assertEqualsStr("channel.item[0].title", getEntryTitle(getCachedSyndFeed().getEntries().get(0))); - * assertEqualsStr("channel.item[1].title", getEntryTitle(getCachedSyndFeed().getEntries().get(1))); } - * - * public String getEntryTitle(Object o) throws Exception { SyndEntry e = (SyndEntry) o; return e.getTitle(); } - * - * public void testEntryDescription() throws Exception { assertEqualsStr("channel.item[0].description", - * getEntryDescription(getCachedSyndFeed().getEntries().get(0))); assertEqualsStr("channel.item[1].description", - * getEntryDescription(getCachedSyndFeed().getEntries().get(1))); } - * - * public String getEntryDescription(Object o) throws Exception { SyndEntry e = (SyndEntry) o; return e.getDescription().getValue(); } - * - * public void testEntryLink() throws Exception { assertEqualsStr("channel.item[0].link", getEntryLink(getCachedSyndFeed().getEntries().get(0))); - * assertEqualsStr("channel.item[1].link", getEntryLink(getCachedSyndFeed().getEntries().get(1))); } - * - * public String getEntryLink(Object o) { SyndEntry e = (SyndEntry) o; return e.getLink(); } - * - * public void testEntryPublishedDate() throws Exception { assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), - * getEntryPublishedDate(getCachedSyndFeed().getEntries().get(0))); assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), - * getEntryPublishedDate(getCachedSyndFeed().getEntries().get(1))); } - * - * public Date getEntryPublishedDate(Object o) { SyndEntry e = (SyndEntry) o; return e.getPublishedDate(); } - * - * public void testEntryCategories() throws Exception { SyndEntry e = (SyndEntry)getCachedSyndFeed().getEntries().get(0); List catlist = e.getCategories(); - * //don't understand why this one fails assertEquals(2, catlist.size()); SyndCategory cat = (SyndCategory)catlist.get(0); - * assertEqualsStr("channel.item[0].category[0]", cat.getName()); assertEqualsStr("channel.item[0].category[0]^domain", cat.getTaxonomyUri()); cat = - * (SyndCategory)catlist.get(1); assertEqualsStr("channel.item[0].category[1]", cat.getName()); assertEqualsStr("channel.item[0].category[1]^domain", - * cat.getTaxonomyUri()); //DO 2nd set of items } - * - * public void testEntryAuthor() throws Exception { assertEqualsStr("channel.item[0].author", getEntryAuthor(getCachedSyndFeed().getEntries().get(0))); - * assertEqualsStr("channel.item[1].author", getEntryAuthor(getCachedSyndFeed().getEntries().get(1))); } - * - * public String getEntryAuthor(Object o) { SyndEntry e = (SyndEntry) o; return e.getAuthor(); } + * public void testType() throws Exception { assertEquals(getPrefix(), + * getCachedSyndFeed().getFeedType()); } public void testTitle() throws Exception { + * assertEqualsStr("channel.title", getCachedSyndFeed().getTitle()); } public void testLink() + * throws Exception { assertEqualsStr("channel.link", getCachedSyndFeed().getLink()); } public + * void testDescription() throws Exception { assertEqualsStr("channel.description", + * getCachedSyndFeed().getDescription()); } public void testLanguage() throws Exception { + * assertEqualsStr("channel.language", getCachedSyndFeed().getLanguage()); } public void + * testCategories() throws Exception { List catlist = getCachedSyndFeed().getCategories(); + * //don't understand why this one fails assertEquals(2, catlist.size()); SyndCategory cat = + * (SyndCategory)catlist.get(0); assertEqualsStr("channel.category[0]", cat.getName()); + * assertEqualsStr("channel.category[0]^domain", cat.getTaxonomyUri()); cat = + * (SyndCategory)catlist.get(1); assertEqualsStr("channel.category[1]", cat.getName()); + * assertEqualsStr("channel.category[1]^domain", cat.getTaxonomyUri()); } public void + * testPublishedDate() throws Exception { + * assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), + * getCachedSyndFeed().getPublishedDate()); } //how do i get height and width? public void + * testImage() throws Exception { SyndImage img = getCachedSyndFeed().getImage(); + * assertEqualsStr("channel.image.description", img.getDescription()); + * assertEqualsStr("channel.image.link", img.getLink()); assertEqualsStr("channel.image.title", + * img.getTitle()); assertEqualsStr("channel.image.url", img.getUrl()); } public void + * testEntries() throws Exception { List entrylist = getCachedSyndFeed().getEntries(); + * assertEquals(2, entrylist.size()); } public void testEntryTitle() throws Exception { + * assertEqualsStr("channel.item[0].title", + * getEntryTitle(getCachedSyndFeed().getEntries().get(0))); + * assertEqualsStr("channel.item[1].title", + * getEntryTitle(getCachedSyndFeed().getEntries().get(1))); } public String getEntryTitle(Object + * o) throws Exception { SyndEntry e = (SyndEntry) o; return e.getTitle(); } public void + * testEntryDescription() throws Exception { assertEqualsStr("channel.item[0].description", + * getEntryDescription(getCachedSyndFeed().getEntries().get(0))); + * assertEqualsStr("channel.item[1].description", + * getEntryDescription(getCachedSyndFeed().getEntries().get(1))); } public String + * getEntryDescription(Object o) throws Exception { SyndEntry e = (SyndEntry) o; return + * e.getDescription().getValue(); } public void testEntryLink() throws Exception { + * assertEqualsStr("channel.item[0].link", + * getEntryLink(getCachedSyndFeed().getEntries().get(0))); + * assertEqualsStr("channel.item[1].link", + * getEntryLink(getCachedSyndFeed().getEntries().get(1))); } public String getEntryLink(Object + * o) { SyndEntry e = (SyndEntry) o; return e.getLink(); } public void testEntryPublishedDate() + * throws Exception { assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), + * getEntryPublishedDate(getCachedSyndFeed().getEntries().get(0))); + * assertEquals(DateParser.parseRFC822("Mon, 01 Jan 2001 00:00:00 GMT"), + * getEntryPublishedDate(getCachedSyndFeed().getEntries().get(1))); } public Date + * getEntryPublishedDate(Object o) { SyndEntry e = (SyndEntry) o; return e.getPublishedDate(); } + * public void testEntryCategories() throws Exception { SyndEntry e = + * (SyndEntry)getCachedSyndFeed().getEntries().get(0); List catlist = e.getCategories(); //don't + * understand why this one fails assertEquals(2, catlist.size()); SyndCategory cat = + * (SyndCategory)catlist.get(0); assertEqualsStr("channel.item[0].category[0]", cat.getName()); + * assertEqualsStr("channel.item[0].category[0]^domain", cat.getTaxonomyUri()); cat = + * (SyndCategory)catlist.get(1); assertEqualsStr("channel.item[0].category[1]", cat.getName()); + * assertEqualsStr("channel.item[0].category[1]^domain", cat.getTaxonomyUri()); //DO 2nd set of + * items } public void testEntryAuthor() throws Exception { + * assertEqualsStr("channel.item[0].author", + * getEntryAuthor(getCachedSyndFeed().getEntries().get(0))); + * assertEqualsStr("channel.item[1].author", + * getEntryAuthor(getCachedSyndFeed().getEntries().get(1))); } public String + * getEntryAuthor(Object o) { SyndEntry e = (SyndEntry) o; return e.getAuthor(); } */ /* - * //things you cannot get from SyndEntryImpl // item[0].source // // item0.category0 item0.category1 - * Thu, 08 Jul 1999 08:00:00 GMT Thu, 08 Jul 1999 09:00:00 GMT item0.author - * http://localhost:8080/item0/comments http://localhost:8080/item0/guid //TODO: I still have the - * elements to test + * //things you cannot get from SyndEntryImpl // item[0].source // // + * + * item0.category0 item0.category1 Thu, 08 Jul 1999 08:00:00 + * GMT Thu, 08 Jul 1999 09:00:00 GMT + * item0.author http://localhost:8080/item0/comments http://localhost:8080/item0/guid //TODO: I still have the elements + * to test */ /* - * public void test() { assertEqualsStr(feed, ""); } - * - * public void test() { assertEqualsStr(feed, ""); } + * public void test() { assertEqualsStr(feed, ""); } public void test() { assertEqualsStr(feed, + * ""); } */ // Things that you cannot get form a SyndFeedImpl today // these need to be put in a RSS 2.0 module // or is a roundtrip to wirefeed the right way to do this? /* - * Search Search this site: q http://example.org/mt/mt-search.cgi - * - * - * image height and width - * - * //Copyright 2004, Mark Pilgrim public void test() { assertEqualsStr(getCachedSyndFeed()., ""); } - * - * //Sample Toolkit public void test() { assertEqualsStr(feed, ""); } - * - * // editor@example.org public void test() { assertEqualsStr(feed, ""); } - * - * // webmaster@example.org public void test() { assertEqualsStr(feed, ""); } - * - * http://blogs.law.harvard.edu/tech/rss - * 60 - * - * 0 1 2 3 4 5 6 7 8 - * 9.5 10 11 12 13 14 15 16 17 - * 18 19 20 21 22 23 Monday - * Tuesday Wednesday Thursday Friday Saturday Sunday + * Search Search this site: q + * http://example.org/mt/mt-search.cgi image height and width + * //Copyright 2004, Mark Pilgrim public void test() { + * assertEqualsStr(getCachedSyndFeed()., ""); } //Sample Toolkit public + * void test() { assertEqualsStr(feed, ""); } // + * editor@example.org public void test() { + * assertEqualsStr(feed, ""); } // webmaster@example.org public void + * test() { assertEqualsStr(feed, ""); } http://blogs.law.harvard.edu/tech/rss + * 60 0 1 + * 2 3 4 5 6 7 + * 8 9.5 10 11 12 + * 13 14 15 16 17 + * 18 19 20 21 22 + * 23 Monday Tuesday + * Wednesday Thursday Friday Saturday + * Sunday */ /* diff --git a/src/test/java/com/sun/syndication/TestOpsOPML10.java b/src/test/java/com/sun/syndication/TestOpsOPML10.java index 7c4691d..6f20c42 100644 --- a/src/test/java/com/sun/syndication/TestOpsOPML10.java +++ b/src/test/java/com/sun/syndication/TestOpsOPML10.java @@ -17,7 +17,7 @@ import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeedImpl; /** - * + * * @author cooper */ public class TestOpsOPML10 extends FeedOpsTest { diff --git a/src/test/java/com/sun/syndication/TestOpsOPML10links.java b/src/test/java/com/sun/syndication/TestOpsOPML10links.java index d74bc5a..2b319ce 100644 --- a/src/test/java/com/sun/syndication/TestOpsOPML10links.java +++ b/src/test/java/com/sun/syndication/TestOpsOPML10links.java @@ -21,7 +21,7 @@ import com.sun.syndication.test.NullWriter; import com.sun.syndication.test.TestUtil; /** - * + * * @author cooper */ public class TestOpsOPML10links extends FeedOpsTest { diff --git a/src/test/java/com/sun/syndication/TestOpsOPML20.java b/src/test/java/com/sun/syndication/TestOpsOPML20.java index cd219cb..1ce1f98 100644 --- a/src/test/java/com/sun/syndication/TestOpsOPML20.java +++ b/src/test/java/com/sun/syndication/TestOpsOPML20.java @@ -17,7 +17,7 @@ import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeedImpl; /** - * + * * @author cooper */ public class TestOpsOPML20 extends FeedOpsTest { diff --git a/src/test/java/com/sun/syndication/TestXmlFixerReader.java b/src/test/java/com/sun/syndication/TestXmlFixerReader.java index c44a910..745962f 100644 --- a/src/test/java/com/sun/syndication/TestXmlFixerReader.java +++ b/src/test/java/com/sun/syndication/TestXmlFixerReader.java @@ -33,7 +33,7 @@ import com.sun.syndication.io.impl.XmlFixerReader; /** * @author pat, tucu - * + * */ public class TestXmlFixerReader extends TestCase { private static final String XML_PROLOG = "";