portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam PortletApplicationBrowser.java
Date Wed, 03 Nov 2004 17:50:51 GMT
taylor      2004/11/03 09:50:51

  Modified:    applications/pam/src/java/org/apache/jetspeed/portlets/pam
                        PortletApplicationBrowser.java
  Log:
  changed Registry API from List to Collection
  
  Revision  Changes    Path
  1.18      +5 -6      jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationBrowser.java
  
  Index: PortletApplicationBrowser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationBrowser.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PortletApplicationBrowser.java	29 Oct 2004 13:42:05 -0000	1.17
  +++ PortletApplicationBrowser.java	3 Nov 2004 17:50:51 -0000	1.18
  @@ -16,10 +16,9 @@
   package org.apache.jetspeed.portlets.pam;
   
   import java.io.IOException;
  +import java.util.Collection;
   import java.util.Iterator;
  -import java.util.List;
   import java.util.Locale;
  -//import java.io.InputStream;
   
   import javax.portlet.ActionRequest;
   import javax.portlet.ActionResponse;
  @@ -79,7 +78,7 @@
           TreeControl control = (TreeControl) request.getPortletSession().getAttribute("j2_tree");
           if(control == null)
           {
  -            List apps = registry.getPortletApplications();
  +            Collection apps = registry.getPortletApplications();
           	control = buildTree(apps, request.getLocale());
           	request.getPortletSession().setAttribute("j2_tree", control);
           }
  @@ -161,8 +160,8 @@
   		}
   	}
   	
  -	private TreeControl buildTree(List apps, Locale locale) {
  -	    
  +	private TreeControl buildTree(Collection apps, Locale locale) 
  +    {	    
   		TreeControlNode root =
               new TreeControlNode("ROOT-NODE",
                                   null, 
  
  
  

---------------------------------------------------------------------
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