mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
d5201070e6
commit
9b8ead825c
@ -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>> {
|
||||
|
@ -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);
|
||||
|
@ -201,7 +201,6 @@ public class EntityManagerFactoryBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public LocalContainerEntityManagerFactoryBean build() {
|
||||
LocalContainerEntityManagerFactoryBean entityManagerFactoryBean = new LocalContainerEntityManagerFactoryBean();
|
||||
if (EntityManagerFactoryBuilder.this.persistenceUnitManager != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user