portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Smith <jsmit...@optonline.net>
Subject Re: cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry RegistryMBeanImpl.java
Date Thu, 04 Nov 2004 04:55:56 GMT
This doesn't look right. Misspelled "registry".

  -        List portlets = *regsitry*.getAllPortletDefinitions();
  +        Collection portlets = *regsitry*.getAllPortletDefinitions();


( Or had this already been picked up?? If  so, pls disregard.

jeff smith

taylor@apache.org wrote:

>taylor      2004/11/03 09:52:37
>
>  Modified:    portal/src/java/org/apache/jetspeed/mbeans/registry
>                        RegistryMBeanImpl.java
>  Log:
>  changed Registry API from List to Collection
>  
>  Revision  Changes    Path
>  1.8       +3 -2      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry/RegistryMBeanImpl.java
>  
>  Index: RegistryMBeanImpl.java
>  ===================================================================
>  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry/RegistryMBeanImpl.java,v
>  retrieving revision 1.7
>  retrieving revision 1.8
>  diff -u -r1.7 -r1.8
>  --- RegistryMBeanImpl.java	29 Oct 2004 14:19:38 -0000	1.7
>  +++ RegistryMBeanImpl.java	3 Nov 2004 17:52:37 -0000	1.8
>  @@ -16,6 +16,7 @@
>   package org.apache.jetspeed.mbeans.registry;
>   
>   import java.util.ArrayList;
>  +import java.util.Collection;
>   import java.util.Iterator;
>   import java.util.List;
>   
>  @@ -60,7 +61,7 @@
>       {
>           PortletRegistry regsitry =
>               (PortletRegistry) Jetspeed.getComponentManager().getComponent(PortletRegistry.class);
>  -        List portlets = regsitry.getAllPortletDefinitions();
>  +        Collection portlets = regsitry.getAllPortletDefinitions();
>           ArrayList list = new ArrayList(portlets.size());
>           Iterator itr = portlets.iterator();
>           while (itr.hasNext())
>  
>  
>  
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
>
>  
>

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