Browse Source

Merge 1a6fce1e0c into a4fd7d3f82

pull/3315/merge
Tran Ngoc Nhan 7 days ago committed by GitHub
parent
commit
7b99a032ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryFragmentMetadata.java
  2. 8
      src/test/java/org/springframework/data/repository/aot/generate/RepositoryBuilderUnitTests.java

1
src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryFragmentMetadata.java

@ -30,7 +30,6 @@ import org.springframework.core.ResolvableType;
import org.springframework.data.javapoet.TypeNames; import org.springframework.data.javapoet.TypeNames;
import org.springframework.data.repository.core.support.RepositoryFragment; import org.springframework.data.repository.core.support.RepositoryFragment;
import org.springframework.data.repository.query.QueryMethod; import org.springframework.data.repository.query.QueryMethod;
import org.springframework.javapoet.ParameterizedTypeName;
import org.springframework.javapoet.TypeName; import org.springframework.javapoet.TypeName;
/** /**

8
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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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; 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.junit.jupiter.api.Test;
import org.springframework.aot.test.generate.TestGenerationContext;
import org.springframework.core.test.tools.TestCompiler;
/** /**
* @author Christoph Strobl * @author Christoph Strobl

Loading…
Cancel
Save