Skip to content

Commit 4a67b39

Browse files
GH-2650 - Remove usage of deprecated org.springframework.data.util.ClassTypeInformation.
Closes #2650.
1 parent 5c7ab59 commit 4a67b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/springframework/data/neo4j/core/mapping/DefaultNeo4jEntityConverterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.springframework.data.neo4j.core.schema.GeneratedValue;
3030
import org.springframework.data.neo4j.core.schema.Id;
3131
import org.springframework.data.neo4j.core.schema.Node;
32-
import org.springframework.data.util.ClassTypeInformation;
32+
import org.springframework.data.util.TypeInformation;
3333

3434
import java.util.Collections;
3535
import java.util.HashMap;
@@ -49,7 +49,7 @@ class DefaultNeo4jEntityConverterTest {
4949
NodeDescriptionStore nodeDescriptionStore = new NodeDescriptionStore();
5050
DefaultNeo4jConversionService conversionService = new DefaultNeo4jConversionService(new Neo4jConversions());
5151
Neo4jMappingContext context = new Neo4jMappingContext();
52-
context.addPersistentEntity(ClassTypeInformation.from(EntityWithDefaultValues.class));
52+
context.addPersistentEntity(TypeInformation.of(EntityWithDefaultValues.class));
5353
nodeDescriptionStore.put("User", (DefaultNeo4jPersistentEntity<?>) context.getNodeDescription(EntityWithDefaultValues.class));
5454
EventSupport eventSupport = EventSupport.useExistingCallbacks(context, EntityCallbacks.create());
5555
TypeSystem typeSystem = InternalTypeSystem.TYPE_SYSTEM;

0 commit comments

Comments
 (0)