cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r516155 - /cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java
Date Thu, 08 Mar 2007 19:25:48 GMT
Author: bruno
Date: Thu Mar  8 11:25:46 2007
New Revision: 516155

URL: http://svn.apache.org/viewvc?view=rev&rev=516155
Log:
small fix of my previous change: collections were not updated if document needed other updates
too.

Modified:
    cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java

Modified: cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java?view=diff&rev=516155&r1=516154&r2=516155
==============================================================================
--- cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java
(original)
+++ cocoon/trunk/tools/sitemaptags2daisy/src/main/java/org/apache/cocoon/documentation/daisy/SitemapTagsToDaisy.java
Thu Mar  8 11:25:46 2007
@@ -146,7 +146,8 @@
                             newDocs++;
                         } else {
                             ComponentDocs oldDocs = getComponentDocs(daisyDoc);
-                            if (!docs.equals(oldDocs) || updateCollections(daisyDoc, blockName))
{
+                            boolean collectionsNeedUpdating = updateCollections(daisyDoc,
blockName);
+                            if (collectionsNeedUpdating || !docs.equals(oldDocs)) {
                                 System.out.println("Will update the document for " + currentClass.getFullyQualifiedName());
                                 updateDocument(daisyDoc, docs);
                                 updatedDocs++;



Mime
View raw message