Skip to content

Commit 83e3104

Browse files
committed
Move TypeInformation to core package.
1 parent cf553df commit 83e3104

File tree

105 files changed

+712
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+712
-428
lines changed

src/main/java/org/springframework/data/aot/AotMappingContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.util.UUID;
2222
import java.util.function.Predicate;
2323

24+
import org.springframework.data.core.TypeInformation;
2425
import org.springframework.data.domain.Page;
2526
import org.springframework.data.geo.Point;
2627
import org.springframework.data.mapping.Association;
@@ -34,7 +35,6 @@
3435
import org.springframework.data.mapping.model.EntityInstantiators;
3536
import org.springframework.data.mapping.model.Property;
3637
import org.springframework.data.mapping.model.SimpleTypeHolder;
37-
import org.springframework.data.util.TypeInformation;
3838

3939
/**
4040
* Simple {@link AbstractMappingContext} for processing of AOT contributions.

src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
import org.jspecify.annotations.Nullable;
2323

24+
import org.springframework.data.core.TypeInformation;
2425
import org.springframework.data.mapping.Alias;
2526
import org.springframework.data.mapping.PersistentEntity;
2627
import org.springframework.data.mapping.context.MappingContext;
27-
import org.springframework.data.util.TypeInformation;
2828
import org.springframework.util.Assert;
2929

3030
/**

src/main/java/org/springframework/data/convert/DefaultTypeMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
import org.jspecify.annotations.Nullable;
2727

2828
import org.springframework.beans.factory.BeanClassLoaderAware;
29+
import org.springframework.data.core.TypeInformation;
2930
import org.springframework.data.mapping.Alias;
3031
import org.springframework.data.mapping.PersistentEntity;
3132
import org.springframework.data.mapping.context.MappingContext;
32-
import org.springframework.data.util.TypeInformation;
3333
import org.springframework.util.Assert;
3434

3535
/**

src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
import org.jspecify.annotations.Nullable;
2222

23+
import org.springframework.data.core.TypeInformation;
2324
import org.springframework.data.mapping.Alias;
2425
import org.springframework.data.mapping.PersistentEntity;
2526
import org.springframework.data.mapping.PersistentProperty;
2627
import org.springframework.data.mapping.context.MappingContext;
27-
import org.springframework.data.util.TypeInformation;
2828
import org.springframework.util.Assert;
2929

3030
/**

src/main/java/org/springframework/data/convert/SimpleTypeInformationMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import org.jspecify.annotations.Nullable;
2323

2424
import org.springframework.beans.factory.BeanClassLoaderAware;
25+
import org.springframework.data.core.TypeInformation;
2526
import org.springframework.data.mapping.Alias;
26-
import org.springframework.data.util.TypeInformation;
2727
import org.springframework.util.ClassUtils;
2828

2929
/**

src/main/java/org/springframework/data/convert/TypeInformationMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
import org.jspecify.annotations.Nullable;
1919

20+
import org.springframework.data.core.TypeInformation;
2021
import org.springframework.data.mapping.Alias;
21-
import org.springframework.data.util.TypeInformation;
2222

2323
/**
2424
* Interface to abstract the mapping from a type alias to the actual type.

src/main/java/org/springframework/data/convert/TypeMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import org.jspecify.annotations.Nullable;
1919

20-
import org.springframework.data.util.TypeInformation;
20+
import org.springframework.data.core.TypeInformation;
2121

2222
/**
2323
* Interface to define strategies how to store type information in a store specific sink or source.

src/main/java/org/springframework/data/convert/ValueConversionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
import org.jspecify.annotations.Nullable;
1919

20+
import org.springframework.data.core.TypeInformation;
2021
import org.springframework.data.mapping.PersistentProperty;
21-
import org.springframework.data.util.TypeInformation;
2222

2323
/**
2424
* The {@link ValueConversionContext} provides access to the store-specific {@link PersistentProperty} and allows to

src/main/java/org/springframework/data/util/ClassTypeInformation.java renamed to src/main/java/org/springframework/data/core/ClassTypeInformation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2011-2025 the original author or authors.
2+
* Copyright 2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.data.util;
16+
package org.springframework.data.core;
1717

1818
import java.util.List;
1919
import java.util.Map;

src/main/java/org/springframework/data/core/PropertyPath.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import org.jspecify.annotations.Nullable;
2222

2323
import org.springframework.data.util.Streamable;
24-
import org.springframework.data.util.TypeInformation;
2524
import org.springframework.util.Assert;
2625

2726
/**

0 commit comments

Comments
 (0)