Skip to content

Commit

Permalink
Update log message
Browse files Browse the repository at this point in the history
Log message still said findOne() instead of findById()
  • Loading branch information
h2m authored and sdeleuze committed Jan 9, 2018
1 parent b42a32e commit 1149b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/hello/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Application {
// fetch an individual customer by ID
val customer = repository.findById(1L)
customer.ifPresent {
log.info("Customer found with findOne(1L):")
log.info("Customer found with findById(1L):")
log.info("--------------------------------")
log.info(it.toString())
log.info("")
Expand Down

0 comments on commit 1149b1d

Please sign in to comment.