[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6859) Typo in AbstractEntityManagerImpl.determineCacheStoreMode(Map)

Tien Tran (JIRA) noreply at atlassian.com
Tue Nov 29 07:12:19 EST 2011


Typo in AbstractEntityManagerImpl.determineCacheStoreMode(Map)
--------------------------------------------------------------

                 Key: HHH-6859
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6859
             Project: Hibernate Core
          Issue Type: Bug
          Components: entity-manager
            Reporter: Tien Tran


{code}
private CacheStoreMode determineCacheStoreMode(Map<String, Object> settings) {
	return ( CacheStoreMode ) properties.get( AvailableSettings.SHARED_CACHE_STORE_MODE );
}
{code}

but I reckon it should be (similar to determineCacheRetrieveMode):

{code}
private CacheStoreMode determineCacheStoreMode(Map<String, Object> settings) {
	return ( CacheStoreMode ) settings.get( AvailableSettings.SHARED_CACHE_STORE_MODE );
}
{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list