]
Paul Ferraro updated ISPN-1776:
-------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
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: Paul Ferraro
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: