diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java index 998098416db..bf5547472ce 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java @@ -16,9 +16,7 @@ package org.springframework.boot.autoconfigure.batch; -import org.springframework.boot.autoconfigure.transaction.TransactionProperties; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; /** * Configuration properties for Spring Batch. @@ -48,9 +46,6 @@ public class BatchProperties { private final Job job = new Job(); - @NestedConfigurationProperty - private final TransactionProperties transaction = new TransactionProperties(); - public String getSchema() { return this.schema; } @@ -75,10 +70,6 @@ public class BatchProperties { return this.job; } - public TransactionProperties getTransaction() { - return this.transaction; - } - public class Initializer { /** diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jProperties.java index 030b69cee67..e58bda102b9 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jProperties.java @@ -23,9 +23,7 @@ import org.neo4j.ogm.config.Configuration; import org.neo4j.ogm.config.DriverConfiguration; import org.springframework.beans.BeansException; -import org.springframework.boot.autoconfigure.transaction.TransactionProperties; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.util.ClassUtils; @@ -71,9 +69,6 @@ public class Neo4jProperties implements ApplicationContextAware { private final Embedded embedded = new Embedded(); - @NestedConfigurationProperty - private final TransactionProperties transaction = new TransactionProperties(); - private ClassLoader classLoader = Neo4jProperties.class.getClassLoader(); public String getUri() { @@ -112,10 +107,6 @@ public class Neo4jProperties implements ApplicationContextAware { return this.embedded; } - public TransactionProperties getTransaction() { - return this.transaction; - } - @Override public void setApplicationContext(ApplicationContext ctx) throws BeansException { this.classLoader = ctx.getClassLoader();