tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources ProxyDirContext.java
Date Wed, 23 Apr 2003 17:37:18 GMT
remm        2003/04/23 10:37:18

  Modified:    catalina/src/share/org/apache/naming/resources
                        ProxyDirContext.java
  Log:
  - Fix dumb bug.
  
  Revision  Changes    Path
  1.7       +5 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java
  
  Index: ProxyDirContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ProxyDirContext.java	21 Apr 2003 18:15:22 -0000	1.6
  +++ ProxyDirContext.java	23 Apr 2003 17:37:18 -0000	1.7
  @@ -1687,7 +1687,7 @@
           if (cache == null)
               return false;
           synchronized (this) {
  -            CacheEntry[] newCache = new CacheEntry[cache.length + 1];
  +            CacheEntry[] newCache = new CacheEntry[cache.length - 1];
               CacheEntry removedEntry = removeMap(cache, newCache, name);
               if (removedEntry != null) {
                   cache = newCache;
  
  
  

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


Mime
View raw message