abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r655555 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
Date Mon, 12 May 2008 16:48:00 GMT
Author: jmsnell
Date: Mon May 12 09:47:59 2008
New Revision: 655555

URL: http://svn.apache.org/viewvc?rev=655555&view=rev
Log:
https://issues.apache.org/jira/browse/ABDERA-133 - "I found another issue in this method.
Checking for the atom:author tag is incorrect--it fails when the eleme3nt is inside the source
element, rather than in the entry itself."

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java?rev=655555&r1=655554&r2=655555&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
Mon May 12 09:47:59 2008
@@ -373,7 +373,7 @@
       if (entry.getUpdated() == null) return false;
       if (entry.getAuthor() == null && 
           (entry.getSource() != null && 
-           entry.getAuthor() == null)) return false;
+           entry.getSource().getAuthor() == null)) return false;
       Content content = entry.getContentElement();
       if (content == null) {
         if (entry.getAlternateLink() == null) return false;



Mime
View raw message