Skip to content

Commit

Permalink
Renamed CustomerBean to CustomerService in JPA sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
povserok committed May 9, 2017
1 parent bdd691d commit 2542ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
public class CustomerResource {

@Inject
private CustomerBean customerBean;
private CustomerService customerBean;

@GET
public Response getAllCustomers() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @since 2.3.0
*/
@RequestScoped
public class CustomerBean {
public class CustomerService {

@PersistenceContext
private EntityManager em;
Expand Down

0 comments on commit 2542ea3

Please sign in to comment.