Skip to content

Commit

Permalink
Fixes raw use of JpaSpecificationExecutor in docs.
Browse files Browse the repository at this point in the history
`JpaSpecificationExecutor` was being used without a type being specified. This commit fixes that.

Original pull request #2159
  • Loading branch information
IncPlusPlus authored and schauder committed Feb 23, 2021
1 parent 5517570 commit aa5f7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/asciidoc/jpa.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ Spring Data JPA takes the concept of a specification from Eric Evans' book, "`Do

[source, java]
----
public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaSpecificationExecutor {
public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaSpecificationExecutor<Customer> {
}
----
Expand Down

0 comments on commit aa5f7f8

Please sign in to comment.