diff --git a/jnosql-mapping/jnosql-mapping-reflection/src/main/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilter.java b/jnosql-mapping/jnosql-mapping-reflection/src/main/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilter.java index 5f3852df3..8daff4b59 100644 --- a/jnosql-mapping/jnosql-mapping-reflection/src/main/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilter.java +++ b/jnosql-mapping/jnosql-mapping-reflection/src/main/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilter.java @@ -33,7 +33,7 @@ enum RepositoryFilter implements Predicate> { INSTANCE; - private static final String PROVIDER = "Eclipse JNoSQL"; //TODO move this to a public location accessible to users + private static final String PROVIDER = "Eclipse_JNoSQL"; //TODO move this to a public location accessible to users @Override public boolean test(Class type) { diff --git a/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/ClassGraphClassScannerTest.java b/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/ClassGraphClassScannerTest.java index eec2d6fdc..fbc9e8a85 100644 --- a/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/ClassGraphClassScannerTest.java +++ b/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/ClassGraphClassScannerTest.java @@ -60,7 +60,7 @@ void shouldReturnRepositories() { assertThat(reepositores).hasSize(4) .contains(Persons.class, - AnimalRepository.class, + AnimalRepository.class, PersonRepository.class, MovieRepository.class); } diff --git a/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilterTest.java b/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilterTest.java index bd131c814..6f102082d 100644 --- a/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilterTest.java +++ b/jnosql-mapping/jnosql-mapping-reflection/src/test/java/org/eclipse/jnosql/mapping/reflection/RepositoryFilterTest.java @@ -20,9 +20,6 @@ import org.eclipse.jnosql.mapping.reflection.entities.NoSQLVendor; import org.eclipse.jnosql.mapping.reflection.entities.Person; import org.eclipse.jnosql.mapping.reflection.entities.PersonRepository; -import org.eclipse.jnosql.mapping.reflection.entities.NoSQLVendor; -import org.eclipse.jnosql.mapping.reflection.entities.Person; -import org.eclipse.jnosql.mapping.reflection.entities.PersonRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -102,7 +99,7 @@ private interface People extends BasicRepository { public interface Persons extends BasicRepository { } - @jakarta.data.repository.Repository(provider = "Eclipse JNoSQL") + @jakarta.data.repository.Repository(provider = "Eclipse_JNoSQL") private interface Server extends BasicRepository { }