roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r354113 - /incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java
Date Mon, 05 Dec 2005 18:05:02 GMT
Author: snoopdave
Date: Mon Dec  5 10:05:01 2005
New Revision: 354113

URL: http://svn.apache.org/viewcvs?rev=354113&view=rev
Log:
oops, commited wrong file

Modified:
    incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java

Modified: incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java?rev=354113&r1=354112&r2=354113&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java (original)
+++ incubator/roller/trunk/src/org/roller/pojos/PlanetEntryData.java Mon Dec  5 10:05:01 2005
@@ -33,7 +33,7 @@
 import com.sun.syndication.feed.synd.SyndFeed;
 
 // this will be needed for ROME v0.8
-import com.sun.syndication.feed.synd.SyndPerson;
+//import com.sun.syndication.feed.synd.SyndPerson;
 
 import java.util.Map;
 import org.roller.RollerException;
@@ -98,13 +98,13 @@
      */
     private void initFromRomeEntry(SyndFeed romeFeed, SyndEntry romeEntry)
     {
-        //setAuthor(romeEntry.getAuthor());
+        setAuthor(romeEntry.getAuthor());
         // this will be needed (instead of the previous line) for ROME v0.8
-        List authors = romeEntry.getAuthors();
-        if (authors!=null && authors.size() > 0) {
-            SyndPerson person = (SyndPerson)authors.get(0);
-            setAuthor(person.getName());
-        }
+        //List authors = romeEntry.getAuthors();
+        //if (authors!=null && authors.size() > 0) {
+            //SyndPerson person = (SyndPerson)authors.get(0);
+            //setAuthor(person.getName());
+        //}
         setTitle(romeEntry.getTitle());
         setPermalink(romeEntry.getLink());
         



Mime
View raw message