Fixed dependency cycle.

Closes #2514
This commit is contained in:
Jens Schauder
2021-12-14 14:55:27 +01:00
parent ecec2e5666
commit 6cf2634a64
3 changed files with 7 additions and 7 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.mapping.context;
package org.springframework.data.projection;
import java.util.ArrayList;
import java.util.Collection;
@@ -24,7 +24,6 @@ import java.util.Map;
import java.util.function.Consumer;
import org.springframework.data.mapping.PropertyPath;
import org.springframework.data.projection.ProjectionInformation;
import org.springframework.data.util.ClassTypeInformation;
import org.springframework.data.util.Streamable;
import org.springframework.data.util.TypeInformation;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.mapping.context;
package org.springframework.data.projection;
import java.beans.PropertyDescriptor;
import java.util.ArrayList;
@@ -25,9 +25,8 @@ import java.util.Set;
import org.springframework.data.mapping.PersistentEntity;
import org.springframework.data.mapping.PersistentProperty;
import org.springframework.data.mapping.PropertyPath;
import org.springframework.data.mapping.context.EntityProjection.ProjectionType;
import org.springframework.data.projection.ProjectionFactory;
import org.springframework.data.projection.ProjectionInformation;
import org.springframework.data.projection.EntityProjection.ProjectionType;
import org.springframework.data.mapping.context.MappingContext;
import org.springframework.data.util.ClassTypeInformation;
import org.springframework.data.util.TypeInformation;
import org.springframework.lang.Nullable;
@@ -88,7 +87,7 @@ public class EntityProjectionIntrospector {
* @param mappedType must not be {@literal null}.
* @param domainType must not be {@literal null}.
* @return the introspection result.
* @see org.springframework.data.mapping.context.EntityProjection.ContainerPropertyProjection
* @see EntityProjection.ContainerPropertyProjection
*/
public <M, D> EntityProjection<M, D> introspect(Class<M> mappedType, Class<D> domainType) {