Relocate runtime hints to aot package

See gh-27829
This commit is contained in:
Stephane Nicoll
2022-02-07 12:51:43 +01:00
parent e077a753f8
commit 6936f7e0cb
29 changed files with 39 additions and 39 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.io.Closeable;
import java.io.Serializable;
@@ -24,7 +24,7 @@ import java.util.function.Function;
import org.junit.jupiter.api.Test;
import org.springframework.core.hint.JdkProxyHint.Builder;
import org.springframework.aot.hint.JdkProxyHint.Builder;
import static org.assertj.core.api.Assertions.assertThat;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.net.URL;
@@ -14,14 +14,14 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.util.function.Consumer;
import java.util.function.Function;
import org.junit.jupiter.api.Test;
import org.springframework.core.hint.JdkProxyHint.Builder;
import org.springframework.aot.hint.JdkProxyHint.Builder;
import static org.assertj.core.api.Assertions.assertThat;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.io.Serializable;
import java.util.Arrays;
@@ -26,7 +26,7 @@ import java.util.stream.Stream;
import org.junit.jupiter.api.Test;
import org.springframework.core.hint.JdkProxyHint.Builder;
import org.springframework.aot.hint.JdkProxyHint.Builder;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.util.function.Consumer;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.util.Arrays;
import java.util.Collections;
@@ -23,7 +23,7 @@ import java.util.function.Consumer;
import org.junit.jupiter.api.Test;
import org.springframework.core.hint.ResourceHintsTests.Nested.Inner;
import org.springframework.aot.hint.ResourceHintsTests.Nested.Inner;
import static org.assertj.core.api.Assertions.assertThat;
@@ -47,14 +47,14 @@ class ResourceHintsTests {
void registerTypeWithNestedType() {
this.resourceHints.registerType(TypeReference.of(Nested.class));
assertThat(this.resourceHints.resourcePatterns()).singleElement().satisfies(
patternOf("org/springframework/core/hint/ResourceHintsTests$Nested.class"));
patternOf("org/springframework/aot/hint/ResourceHintsTests$Nested.class"));
}
@Test
void registerTypeWithInnerNestedType() {
this.resourceHints.registerType(TypeReference.of(Inner.class));
assertThat(this.resourceHints.resourcePatterns()).singleElement().satisfies(
patternOf("org/springframework/core/hint/ResourceHintsTests$Nested$Inner.class"));
patternOf("org/springframework/aot/hint/ResourceHintsTests$Nested$Inner.class"));
}
@Test
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.util.function.Function;
@@ -14,13 +14,13 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.springframework.core.hint.TypeHint.Builder;
import org.springframework.aot.hint.TypeHint.Builder;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.hint;
package org.springframework.aot.hint;
import org.junit.jupiter.api.Test;