Bug 18197 - [PATCH] Cache - typo for attribute prefix in CacheUtil.java
Summary: [PATCH] Cache - typo for attribute prefix in CacheUtil.java
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Cache Taglib (show other bugs)
Version: 1.0
Hardware: All All
: P3 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 18:27 UTC by Andy Bryant
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.