Commit a7b77e6f authored by Kazuki Shimizu's avatar Kazuki Shimizu Committed by Phillip Webb

Remove a nested TransactionProperties

Remove a few nested `TransactionProperties` that should have been
deleted in commit f22744c7.

See gh-7561
Closes gh-7786
parent 8854526c
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
package org.springframework.boot.autoconfigure.batch; 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.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
/** /**
* Configuration properties for Spring Batch. * Configuration properties for Spring Batch.
...@@ -48,9 +46,6 @@ public class BatchProperties { ...@@ -48,9 +46,6 @@ public class BatchProperties {
private final Job job = new Job(); private final Job job = new Job();
@NestedConfigurationProperty
private final TransactionProperties transaction = new TransactionProperties();
public String getSchema() { public String getSchema() {
return this.schema; return this.schema;
} }
...@@ -75,10 +70,6 @@ public class BatchProperties { ...@@ -75,10 +70,6 @@ public class BatchProperties {
return this.job; return this.job;
} }
public TransactionProperties getTransaction() {
return this.transaction;
}
public class Initializer { public class Initializer {
/** /**
......
...@@ -23,9 +23,7 @@ import org.neo4j.ogm.config.Configuration; ...@@ -23,9 +23,7 @@ import org.neo4j.ogm.config.Configuration;
import org.neo4j.ogm.config.DriverConfiguration; import org.neo4j.ogm.config.DriverConfiguration;
import org.springframework.beans.BeansException; 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.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware; import org.springframework.context.ApplicationContextAware;
import org.springframework.util.ClassUtils; import org.springframework.util.ClassUtils;
...@@ -71,9 +69,6 @@ public class Neo4jProperties implements ApplicationContextAware { ...@@ -71,9 +69,6 @@ public class Neo4jProperties implements ApplicationContextAware {
private final Embedded embedded = new Embedded(); private final Embedded embedded = new Embedded();
@NestedConfigurationProperty
private final TransactionProperties transaction = new TransactionProperties();
private ClassLoader classLoader = Neo4jProperties.class.getClassLoader(); private ClassLoader classLoader = Neo4jProperties.class.getClassLoader();
public String getUri() { public String getUri() {
...@@ -112,10 +107,6 @@ public class Neo4jProperties implements ApplicationContextAware { ...@@ -112,10 +107,6 @@ public class Neo4jProperties implements ApplicationContextAware {
return this.embedded; return this.embedded;
} }
public TransactionProperties getTransaction() {
return this.transaction;
}
@Override @Override
public void setApplicationContext(ApplicationContext ctx) throws BeansException { public void setApplicationContext(ApplicationContext ctx) throws BeansException {
this.classLoader = ctx.getClassLoader(); this.classLoader = ctx.getClassLoader();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment