portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/page/impl CastorXmlPageManager.java
Date Wed, 03 Nov 2004 15:58:46 GMT
weaver      2004/11/03 07:58:46

  Modified:    components/page-manager/src/java/org/apache/jetspeed/page/impl
                        CastorXmlPageManager.java
  Log:
  Patch from Randy Walter to show empty document sets.
  
  Revision  Changes    Path
  1.20      +4 -4      jakarta-jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/page/impl/CastorXmlPageManager.java
  
  Index: CastorXmlPageManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/page/impl/CastorXmlPageManager.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- CastorXmlPageManager.java	26 Oct 2004 19:04:48 -0000	1.19
  +++ CastorXmlPageManager.java	3 Nov 2004 15:58:46 -0000	1.20
  @@ -66,7 +66,7 @@
    * This service is responsible for loading and saving PSML pages serialized to
    * disk
    * 
  - * @author <a href="mailto:raphael@apache.org">RaphaŰl Luta </a>
  + * @author <a href="mailto:raphael@apache.org">Rapha´┐Żl Luta </a>
    * @author <a href="mailto:weaver@apache.org">Scott T Weaver </a>
    * @version $Id$
    */
  @@ -316,7 +316,7 @@
                           DocumentSet documentSet = (DocumentSet) documentSetsIter.next();
                           NodeSetImpl documentSetNodes = null;
                           documentSetNodes = expandAndProfileDocumentSet(pageContext.getLocators(),
documentSet, documentSetNodes);
  -                        if ((documentSetNodes != null) && (documentSetNodes.size()
> 0))
  +                        if (documentSetNodes != null)
                           {
                               documentSets.add(documentSet);
                               documentSetNodeSets.put(documentSet, documentSetNodes);
  @@ -466,7 +466,7 @@
                                   // expand document set using default document set order
                                   NodeSetImpl documentSetNodes = new NodeSetImpl(null, documentComparator);
                                   documentSetNodes = expandDocumentSet(documentSet, documentSetNodes);
  -                                if ((documentSetNodes != null) && (documentSetNodes.size()
> 0))
  +                                if (documentSetNodes != null)
                                   {
                                       documentSets.add(documentSet);
                                       documentSetNodeSets.put(documentSet, documentSetNodes);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message