Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit b7db2eb

Browse files
committed
Neo4j - Fix generics in method declaration in repository.
1 parent 0f952f1 commit b7db2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/src/main/java/com/oreilly/springdata/neo4j/core/CustomerRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public interface CustomerRepository extends GraphRepository<Customer> {
2121

2222
Customer findOne(Long id);
2323

24-
Customer save(Customer customer);
24+
<C extends Customer> C save(C customer);
2525

2626
Customer findByEmailAddress(String emailAddress);
2727
}

0 commit comments

Comments
 (0)