Bug 18197

Summary: [PATCH] Cache - typo for attribute prefix in CacheUtil.java
Product: Taglibs Reporter: Andy Bryant <andy>
Component: Cache TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Andy Bryant 2003-03-20 18:27:44 UTC
Apologies if you've seen this before, but the first time I didn't go through 
Bugzilla. Also, I'm a little concerned that the taglib dev archive appears not 
be have been updated since 2001???

There's a typo in CacheUtil where the attribute name prefix for application 
level
scope uses CACHE_SESSION instead of CACHE_APPLICATION. This should not cause 
any problems as the attributes are stored in different objects, but could lead 
to confusion.

cheers,
andy

Index: CacheUtil.java
===================================================================
RCS file: /home/cvspublic/jakarta-
taglibs/cache/src/org/apache/taglibs/cache/CacheUtil.java,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 CacheUtil.java
189c189
<         return CACHE_SESSION + ".";
---
>         return CACHE_APPLICATION + ".";
Comment 1 Shawn Bayern 2003-03-20 18:31:14 UTC
Fixed.  Thanks for the report.