From 7b0004d6c31b945024a5b0f7bea55b4984af0853 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 21 Feb 2019 14:17:34 +0100 Subject: [PATCH] Fix formatting --- .../metrics/orm/jpa/HibernateMetricsAutoConfiguration.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/orm/jpa/HibernateMetricsAutoConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/orm/jpa/HibernateMetricsAutoConfiguration.java index 915e747ae153..013cadb8e191 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/orm/jpa/HibernateMetricsAutoConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/orm/jpa/HibernateMetricsAutoConfiguration.java @@ -68,8 +68,7 @@ private void bindEntityManagerFactoryToRegistry(String beanName, String entityManagerFactoryName = getEntityManagerFactoryName(beanName); try { new HibernateMetrics(entityManagerFactory.unwrap(SessionFactory.class), - entityManagerFactoryName, Collections.emptyList()) - .bindTo(registry); + entityManagerFactoryName, Collections.emptyList()).bindTo(registry); } catch (PersistenceException ex) { // Continue