Paul Ferraro created ISPN-1776:
----------------------------------
Summary: Unnecessary object creation during configuration adaptation
Key: ISPN-1776
URL:
https://issues.jboss.org/browse/ISPN-1776
Project: Infinispan
Issue Type: Enhancement
Components: Configuration
Affects Versions: 5.1.0.CR4
Reporter: Paul Ferraro
Assignee: Manik Surtani
Priority: Minor
Fix For: 5.1.0.FINAL
DefaultCacheManager is unnecessarily creating instances of LegacyConfigurationAdaptor to
call static methods.
e.g.
@Override
public org.infinispan.configuration.cache.Configuration defineConfiguration(String
cacheName, org.infinispan.configuration.cache.Configuration configuration) {
defineConfiguration(cacheName, new
LegacyConfigurationAdaptor().adapt(configuration));
return configuration;
}
even though adapt() is a static method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira