diff --git a/src/main/java/org/springframework/data/util/TypeContributor.java b/src/main/java/org/springframework/data/util/TypeContributor.java index c7781dd7ac..53c6c470d0 100644 --- a/src/main/java/org/springframework/data/util/TypeContributor.java +++ b/src/main/java/org/springframework/data/util/TypeContributor.java @@ -22,7 +22,6 @@ import org.springframework.aot.generate.GenerationContext; import org.springframework.aot.hint.BindingReflectionHintsRegistrar; -import org.springframework.aot.hint.MemberCategory; import org.springframework.core.annotation.MergedAnnotation; /** diff --git a/src/test/java/org/springframework/data/repository/aot/generate/RepositoryBuilderUnitTests.java b/src/test/java/org/springframework/data/repository/aot/generate/RepositoryBuilderUnitTests.java index 5bf04cd6e7..b425dbbb10 100644 --- a/src/test/java/org/springframework/data/repository/aot/generate/RepositoryBuilderUnitTests.java +++ b/src/test/java/org/springframework/data/repository/aot/generate/RepositoryBuilderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,13 +15,7 @@ */ package org.springframework.data.repository.aot.generate; -import static org.assertj.core.api.Assertions.assertThat; - -import example.UserRepository; - import org.junit.jupiter.api.Test; -import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.core.test.tools.TestCompiler; /** * @author Christoph Strobl diff --git a/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java b/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java index 4504ce31ed..0eab495640 100644 --- a/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java @@ -28,7 +28,6 @@ import org.junit.jupiter.api.TestFactory; import org.springframework.core.MethodParameter; -import org.springframework.data.repository.Repository; import org.springframework.data.repository.query.ParametersUnitTests.User; import org.springframework.data.util.TypeInformation;