[
https://jira.jboss.org/jira/browse/JBCACHE-1506?page=com.atlassian.jira.p...
]
Manik Surtani resolved JBCACHE-1506.
------------------------------------
Fix Version/s: 3.1.0.GA
Resolution: Done
Thanks for reporting
Cache JavaDoc "best practice" example uses deprecated API
---------------------------------------------------------
Key: JBCACHE-1506
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1506
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0.CR1
Reporter: Morten Hattesen
Assignee: Manik Surtani
Priority: Trivial
Fix For: 3.1.0.GA
The class JavaDoc comment for org.jboss.cache.Cache "simple example of usage"
uses the deprecated DefaultCacheFactory.getInstance() method.
Cache cache = DefaultCacheFactory.getInstance().createCache();
Should be ...
Cache cache = new DefaultCacheFactory().createCache();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira