Skip to content

Commit 7edf0ec

Browse files
IncPlusPlusschauder
authored andcommitted
Fixes raw use of JpaSpecificationExecutor in docs.
`JpaSpecificationExecutor` was being used without a type being specified. This commit fixes that. Original pull request #2159
1 parent 64bcc0f commit 7edf0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/jpa.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Spring Data JPA takes the concept of a specification from Eric Evans' book, "`Do
789789

790790
[source, java]
791791
----
792-
public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaSpecificationExecutor {
792+
public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaSpecificationExecutor<Customer> {
793793
794794
}
795795
----

0 commit comments

Comments
 (0)