Polish method name in HibernateJpaAutoConfiguration

This commit is contained in:
Andy Wilkinson 2014-11-11 12:37:34 +00:00
parent 40d7927aad
commit f9221e24ef
1 changed files with 2 additions and 2 deletions

View File

@ -90,11 +90,11 @@ public class HibernateJpaAutoConfiguration extends JpaBaseConfiguration {
protected void customizeVendorProperties(Map<String, Object> vendorProperties) {
super.customizeVendorProperties(vendorProperties);
if (!vendorProperties.containsKey(JTA_PLATFORM)) {
dunno(vendorProperties);
configureJtaPlatform(vendorProperties);
}
}
private void dunno(Map<String, Object> vendorProperties) throws LinkageError {
private void configureJtaPlatform(Map<String, Object> vendorProperties) throws LinkageError {
JtaTransactionManager jtaTransactionManager = getJtaTransactionManager();
if (jtaTransactionManager != null) {
vendorProperties.put(JTA_PLATFORM, new SpringJtaPlatform(