portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/xdocs changes.xml
Date Tue, 21 Jan 2003 21:50:33 GMT
morciuch    2003/01/21 13:50:33

  Modified:    docs/site changes.html
               src/java/org/apache/jetspeed/services/security/registry
                        RegistryAccessController.java
               xdocs    changes.xml
  Log:
  Eliminated one unnecessary registry lookup and log entry in the registry access controller
(see Bugzilla bug# 16310).
  
  Revision  Changes    Path
  1.101     +3 -0      jakarta-jetspeed/docs/site/changes.html
  
  Index: changes.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/changes.html,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- changes.html	21 Jan 2003 21:28:24 -0000	1.100
  +++ changes.html	21 Jan 2003 21:50:32 -0000	1.101
  @@ -133,6 +133,9 @@
   </li>
   -->
   <li>
  +  Fixed - Bug # 16310 - 2003/01/21 - Eliminating one unnecessary registry lookup and log
entry in the registry access controller(MO)
  +</li>
  +<li>
     Fixed - Bug # 16309 - 2003/01/21 - Localized "no access to portlets" message in PortletWrapper
(MO)
   </li>
   <li>
  
  
  
  1.5       +7 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/registry/RegistryAccessController.java
  
  Index: RegistryAccessController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/registry/RegistryAccessController.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RegistryAccessController.java	25 Aug 2002 19:45:07 -0000	1.4
  +++ RegistryAccessController.java	21 Jan 2003 21:50:33 -0000	1.5
  @@ -125,7 +125,12 @@
           }
   
           String portletName = portlet.getName();
  -        RegistryEntry registryEntry = (RegistryEntry)Registry.getEntry(Registry.PORTLET,
portletName);
  +        RegistryEntry registryEntry = null;
  +        // Don't query registry if portlet is a set
  +        if (!(portlet instanceof PortletSet))
  +        {
  +            registryEntry = (RegistryEntry) Registry.getEntry(Registry.PORTLET, portletName);
  +        }            
           //portlet is not a portlet - probably a controller or control
           if (registryEntry==null) {
               PortletSet ps  = portlet.getPortletConfig().getPortletSet();
  
  
  
  1.118     +4 -1      jakarta-jetspeed/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/changes.xml,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- changes.xml	21 Jan 2003 21:28:24 -0000	1.117
  +++ changes.xml	21 Jan 2003 21:50:33 -0000	1.118
  @@ -23,6 +23,9 @@
   </li>
   -->
   <li>
  +  Fixed - Bug # 16310 - 2003/01/21 - Eliminating one unnecessary registry lookup and log
entry in the registry access controller(MO)
  +</li>
  +<li>
     Fixed - Bug # 16309 - 2003/01/21 - Localized "no access to portlets" message in PortletWrapper
(MO)
   </li>
   <li>
  
  
  

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


Mime
View raw message