cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1068048 - /cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java
Date Mon, 07 Feb 2011 18:49:26 GMT
Author: dkulp
Date: Mon Feb  7 18:49:25 2011
New Revision: 1068048

URL: http://svn.apache.org/viewvc?rev=1068048&view=rev
Log:
If pages list is empty, force a check

Modified:
    cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java?rev=1068048&r1=1068047&r2=1068048&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java Mon Feb  7 18:49:25 2011
@@ -178,7 +178,7 @@ public class SiteExporter {
     }
 
     public boolean checkRSS() throws Exception {
-        if (forceAll || pages == null) {
+        if (forceAll || pages == null || pages.isEmpty()) {
             return false;
         }
         URL url = new URL(ROOT + "/createrssfeed.action?types=page&types=blogpost&types=mail&"



Mime
View raw message