diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-21 09:30:12 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-21 09:30:12 +0000 |
commit | b17facb628587573b6a08f43e315ac17df17d7a2 (patch) | |
tree | ea55045368845a53bee0b2fee95e02b1af7b0d4c /branches/sca-java-1.x/modules/binding-rss-rome/src | |
parent | 3b48e7a0bf632c2b7397c8ac8c137b972ae71946 (diff) |
Binding RSS tests should not depend on classes from the Atom API
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@786964 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-rss-rome/src')
-rw-r--r-- | branches/sca-java-1.x/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java b/branches/sca-java-1.x/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java index d45be65e20..409d3994a6 100644 --- a/branches/sca-java-1.x/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java +++ b/branches/sca-java-1.x/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java @@ -30,7 +30,6 @@ import java.util.UUID; import org.apache.tuscany.sca.binding.rss.collection.Collection; import org.osoa.sca.annotations.Scope; -import com.sun.syndication.feed.atom.Content; import com.sun.syndication.feed.synd.SyndContent; import com.sun.syndication.feed.synd.SyndContentImpl; import com.sun.syndication.feed.synd.SyndEntry; @@ -56,7 +55,7 @@ public class CustomerCollectionImpl implements Collection { SyndContent content = new SyndContentImpl(); content.setValue("Jane Doe_" + String.valueOf(i)); - content.setType(Content.TEXT); + content.setType("text"); entry.setContents(Collections.singletonList(content)); List<SyndLink> links = new ArrayList<SyndLink>(); |