[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1506) Cache JavaDoc "best practice" example uses deprecated API
Morten Hattesen (JIRA)
jira-events at lists.jboss.org
Wed Apr 15 07:53:22 EDT 2009
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
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
More information about the jbosscache-issues
mailing list