[jbosscache-issues] [JBoss JIRA] Resolved: (JBCACHE-1506) Cache JavaDoc "best practice" example uses deprecated API
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Wed Apr 15 07:59:24 EDT 2009
[ https://jira.jboss.org/jira/browse/JBCACHE-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
More information about the jbosscache-issues
mailing list