Skip to content

Commit 7b15753

Browse files
committed
Removed obsolete method from CustomerRepository.
1 parent bb6080e commit 7b15753

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

spring-data-jpa-showcase/src/main/java/org/springframework/data/jpa/showcase/after/CustomerRepository.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package org.springframework.data.jpa.showcase.after;
22

3-
import java.util.List;
4-
53
import org.springframework.data.domain.Page;
64
import org.springframework.data.domain.Pageable;
75
import org.springframework.data.jpa.repository.JpaRepository;
@@ -15,15 +13,6 @@
1513
*/
1614
public interface CustomerRepository extends JpaRepository<Customer, Long> {
1715

18-
/**
19-
* Returns all {@link Customer}s with the given lastname.
20-
*
21-
* @param lastname
22-
* @return
23-
*/
24-
List<Customer> findByLastname(String lastname);
25-
26-
2716
/**
2817
* Returns a page of {@link Customer}s with the given lastname.
2918
*

0 commit comments

Comments
 (0)