Polish
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user