pull/14914/head
Andy Wilkinson 6 years ago
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…
Cancel
Save