mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 19:09:03 +00:00
Polish
This commit is contained in:
+2
@@ -25,6 +25,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
/**
|
||||
* Base test for {@link StepRegistryPropertiesConfigAdapter} implementations.
|
||||
*
|
||||
* @param <P> properties used by the tests
|
||||
* @param <A> adapter used by the tests
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
public abstract class StepRegistryPropertiesConfigAdapterTests<P extends StepRegistryProperties, A extends StepRegistryPropertiesConfigAdapter<P>> {
|
||||
|
||||
+1
@@ -119,6 +119,7 @@ class BootZipCopyAction implements CopyAction {
|
||||
return () -> true;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private Spec<FileTreeElement> createExclusionSpec(
|
||||
Spec<FileTreeElement> loaderEntries) {
|
||||
return Specs.union(loaderEntries, this.exclusions);
|
||||
|
||||
-1
@@ -201,7 +201,6 @@ public class EntityManagerFactoryBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public LocalContainerEntityManagerFactoryBean build() {
|
||||
LocalContainerEntityManagerFactoryBean entityManagerFactoryBean = new LocalContainerEntityManagerFactoryBean();
|
||||
if (EntityManagerFactoryBuilder.this.persistenceUnitManager != null) {
|
||||
|
||||
Reference in New Issue
Block a user