abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r639301 - /incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
Date Thu, 20 Mar 2008 14:52:32 GMT
Author: jmsnell
Date: Thu Mar 20 07:52:30 2008
New Revision: 639301

URL: http://svn.apache.org/viewvc?rev=639301&view=rev
Log:
per https://issues.apache.org/jira/browse/ABDERA-133

"ProviderHelper.isValidEntry() marks entries with an XML content type and no summary element
as invalid."

Modified:
    incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java

Modified: incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java?rev=639301&r1=639300&r2=639301&view=diff
==============================================================================
--- incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
(original)
+++ incubator/abdera/java/branches/abdera-0.4.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/ProviderHelper.java
Thu Mar 20 07:52:30 2008
@@ -362,8 +362,7 @@
         if (entry.getAlternateLink() == null) return false;
       } else {
         if ((content.getSrc() != null ||
-            content.getContentType() == Content.Type.MEDIA || 
-            content.getContentType() == Content.Type.XML) &&
+            content.getContentType() == Content.Type.MEDIA) &&
             entry.getSummaryElement() == null) {
           log.debug(Localizer.sprintf("CHECKING.VALID.ENTRY",false));
           return false;



Mime
View raw message