File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed
src/main/java/org/springframework/data/neo4j/core Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -124,30 +124,6 @@ public final class Neo4jTemplate implements
124124
125125 private ProjectionFactory projectionFactory ;
126126
127- @ Deprecated
128- public Neo4jTemplate (Neo4jClient neo4jClient , Neo4jMappingContext neo4jMappingContext ,
129- DatabaseSelectionProvider databaseSelectionProvider ) {
130-
131- this (neo4jClient , neo4jMappingContext , EntityCallbacks .create ());
132-
133- if (databaseSelectionProvider != neo4jClient .getDatabaseSelectionProvider ()) {
134- throw new IllegalStateException (
135- "The provided database selection provider differs from the Neo4jClient's one." );
136- }
137- }
138-
139- @ Deprecated
140- public Neo4jTemplate (Neo4jClient neo4jClient , Neo4jMappingContext neo4jMappingContext ,
141- DatabaseSelectionProvider databaseSelectionProvider , EntityCallbacks entityCallbacks ) {
142-
143- this (neo4jClient , neo4jMappingContext , entityCallbacks );
144-
145- if (databaseSelectionProvider != neo4jClient .getDatabaseSelectionProvider ()) {
146- throw new IllegalStateException (
147- "The provided database selection provider differs from the Neo4jClient's one." );
148- }
149- }
150-
151127 public Neo4jTemplate (Neo4jClient neo4jClient ) {
152128 this (neo4jClient , new Neo4jMappingContext ());
153129 }
Original file line number Diff line number Diff line change @@ -127,16 +127,6 @@ public final class ReactiveNeo4jTemplate implements
127127
128128 private ProjectionFactory projectionFactory ;
129129
130- @ Deprecated
131- public ReactiveNeo4jTemplate (ReactiveNeo4jClient neo4jClient , Neo4jMappingContext neo4jMappingContext ,
132- ReactiveDatabaseSelectionProvider databaseSelectionProvider ) {
133-
134- this (neo4jClient , neo4jMappingContext );
135- if (databaseSelectionProvider != neo4jClient .getDatabaseSelectionProvider ()) {
136- throw new IllegalStateException ("The provided database selection provider differs from the ReactiveNeo4jClient's one." );
137- }
138- }
139-
140130 public ReactiveNeo4jTemplate (ReactiveNeo4jClient neo4jClient , Neo4jMappingContext neo4jMappingContext ) {
141131
142132 Assert .notNull (neo4jClient , "The Neo4jClient is required" );
You can’t perform that action at this time.
0 commit comments