abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dand...@apache.org
Subject svn commit: r627091 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
Date Tue, 12 Feb 2008 20:45:18 GMT
Author: dandiep
Date: Tue Feb 12 12:45:16 2008
New Revision: 627091

URL: http://svn.apache.org/viewvc?rev=627091&view=rev
Log:
A summary element can be empty and still be valid I believe. The <summary> just needs
to be there.

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=627091&r1=627090&r2=627091&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
Tue Feb 12 12:45:16 2008
@@ -364,7 +364,7 @@
         if ((content.getSrc() != null ||
             content.getContentType() == Content.Type.MEDIA || 
             content.getContentType() == Content.Type.XML) &&
-            entry.getSummary() == null) {
+            entry.getSummaryElement() == null) {
           log.debug(Localizer.sprintf("CHECKING.VALID.ENTRY",false));
           return false;
         }



Mime
View raw message