Browse Source

Polish method name in HibernateJpaAutoConfiguration

pull/1873/merge
Andy Wilkinson 11 years ago
parent
commit
f9221e24ef
  1. 4
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java

4
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java

@ -90,11 +90,11 @@ public class HibernateJpaAutoConfiguration extends JpaBaseConfiguration { @@ -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(

Loading…
Cancel
Save