EHC ❯ diskStorePath is ignored
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
The diskStorePath parameter specified in Cache’s 1.2 constructor is ignored (overwritten with CacheManager’s diskStorePath in addCache).
Workaround: Subclass Cache and override setDiskStorePath(String) with an empty implementation.
Fix: The Cache.setDiskStorePath method should be removed. It suggests that the path can be set at runtime, which is not true. Instead of injecting the value from CacheManager.addCache, Cache.getDiskStorePath should get the value from CacheManager if Cache.diskStorePath is null.
Regards, Karsten [email protected] Sourceforge Ticket ID: 1539702 - Opened By: nobody - 13 Aug 2006 22:30 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
Karsten
This is all a bit untidy and is there only to not break backward compatibility. I have updated the JavaDoc to indicate the parameter is ignored.
Eventually I will deprecate these constructors and clean this up.
Greg
Comment by: gregluck - 19 Aug 2006 06:21 UTC