Skip to content

Commit d0fed0e

Browse files
committed
Fix formatting
See gh-47802
1 parent b3a4ddb commit d0fed0e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

module/spring-boot-hibernate/src/test/java/org/springframework/boot/hibernate/autoconfigure/HibernateJpaAutoConfigurationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ void customPersistenceUnitProcessorsAddedByServeralContributors() {
360360
PersistenceUnitInfo persistenceUnitInfo = entityManagerFactoryBean.getPersistenceUnitInfo();
361361
assertThat(persistenceUnitInfo).isNotNull();
362362
assertThat(persistenceUnitInfo.getManagedClassNames()).contains(
363-
"customized.attribute.converter.class.name", "customized.attribute.converter.class.anotherName");
363+
"customized.attribute.converter.class.name",
364+
"customized.attribute.converter.class.anotherName");
364365
});
365366
}
366367

module/spring-boot-jpa/src/test/java/org/springframework/boot/jpa/EntityManagerFactoryBuilderTests.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ void addPersistenceUnitPostProcessorsWhenEmpty() {
5757
PersistenceUnitPostProcessor postProcessor2 = mock();
5858
builder.addPersistenceUnitPostProcessors(postProcessor, postProcessor2);
5959
assertThat(builder).extracting("persistenceUnitPostProcessors")
60-
.asInstanceOf(InstanceOfAssertFactories.LIST)
61-
.containsExactly(postProcessor, postProcessor2);
60+
.asInstanceOf(InstanceOfAssertFactories.LIST)
61+
.containsExactly(postProcessor, postProcessor2);
6262
}
6363

6464
@Test
@@ -70,8 +70,8 @@ void setPersistenceUnitPostProcessorsWhenNotEmpty() {
7070
PersistenceUnitPostProcessor postProcessor3 = mock();
7171
builder.setPersistenceUnitPostProcessors(postProcessor2, postProcessor3);
7272
assertThat(builder).extracting("persistenceUnitPostProcessors")
73-
.asInstanceOf(InstanceOfAssertFactories.LIST)
74-
.containsExactly(postProcessor2, postProcessor3);
73+
.asInstanceOf(InstanceOfAssertFactories.LIST)
74+
.containsExactly(postProcessor2, postProcessor3);
7575
}
7676

7777
@Test
@@ -82,13 +82,12 @@ void addPersistenceUnitPostProcessorsWhenNotEmpty() {
8282
PersistenceUnitPostProcessor postProcessor2 = mock();
8383
builder.addPersistenceUnitPostProcessors(postProcessor2);
8484
assertThat(builder).extracting("persistenceUnitPostProcessors")
85-
.asInstanceOf(InstanceOfAssertFactories.LIST)
86-
.containsExactly(postProcessor, postProcessor2);
85+
.asInstanceOf(InstanceOfAssertFactories.LIST)
86+
.containsExactly(postProcessor, postProcessor2);
8787
}
8888

8989
private EntityManagerFactoryBuilder createEmptyBuilder() {
90-
Function<DataSource, Map<String, ?>> jpaPropertiesFactory = (dataSource) -> Collections
91-
.emptyMap();
90+
Function<DataSource, Map<String, ?>> jpaPropertiesFactory = (dataSource) -> Collections.emptyMap();
9291
return new EntityManagerFactoryBuilder(new TestJpaVendorAdapter(), jpaPropertiesFactory, null);
9392
}
9493

0 commit comments

Comments
 (0)