You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/07/15 02:14:39 UTC

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry HybridRegistryService.java

taylor      2004/07/14 17:14:39

  Modified:    src/java/org/apache/jetspeed/services/registry
                        HybridRegistryService.java
  Log:
  fix bug in registry name when loading
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/HybridRegistryService.java
  
  Index: HybridRegistryService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/HybridRegistryService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HybridRegistryService.java	14 Jul 2004 22:35:01 -0000	1.4
  +++ HybridRegistryService.java	15 Jul 2004 00:14:39 -0000	1.5
  @@ -78,7 +78,7 @@
               {
                   String key = (String)iterator.next();
                   String name = key.substring(key.lastIndexOf(".") + 1);                
  -                Registry registry = createRegistry(key);
  +                Registry registry = createRegistry(name);
                   dbRegistries.put(name, registry);
                   loadCache(name, registry);
               }                
  
  
  

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